/* ============================================================
   EFTELCLOUD · ENTERPRISE SKIN v1 — look OVHcloud / AWS
   Infraestructura: sobrio, técnico, blanco/gris para contenido,
   azul marino sólido para masthead/footer, un solo acento vivo
   (naranja AWS #FF6600) para CTAs y elementos interactivos.
   SIN gradientes, SIN glows. SOLO VISUAL — no toca estructura
   ni lógica. Se carga al final (después de ui.css, modern.css
   y las hojas por página) para actuar como capa de piel.
   ============================================================ */

:root {
  /* Marca — azul corporativo sólido (sin degradado) */
  --ui-primary: #0B2545;
  --ui-primary-hover: #081A33;
  --ui-primary-soft: #E8EDF4;
  --ui-accent: #FF6600;
  --ui-accent-hover: #E85C00;
  --ui-accent-soft: #FFF1E6;

  /* Gradientes de la plantilla → colores sólidos */
  --ui-gradient: #0B2545;
  --ui-gradient-hero: #0B2545;
  --ui-gradient-cta: #0B2545;

  /* Neutros — fondo claro, texto gris oscuro, bordes sutiles */
  --ui-ink: #0F1B2E;
  --ui-text: #2E3A52;
  --ui-muted: #56637B;
  --ui-faint: #8A95A8;
  --ui-bg: #F5F7FA;
  --ui-bg2: #EEF1F6;
  --ui-surface: #FFFFFF;
  --ui-border: #E1E6EF;
  --ui-border-strong: #C9D0DD;

  /* Forma — radios contenidos, sombras mínimas */
  --ui-radius: 12px;
  --ui-radius-lg: 16px;
  --ui-radius-sm: 8px;
  --ui-shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.05);
  --ui-shadow: 0 2px 8px -3px rgba(11, 37, 69, 0.09);
  --ui-shadow-lg: 0 14px 32px -12px rgba(11, 37, 69, 0.16);
  --ui-ring: 0 0 0 4px rgba(255, 102, 0, 0.16);
  --ui-glow: 0 6px 14px -8px rgba(255, 102, 0, 0.35);
  --ui-glow-sm: 0 5px 12px -7px rgba(255, 102, 0, 0.3);

  /* Paleta heredada del design system v2 (main.css) */
  --ds-blue: #0B2545;
  --ds-blue-dark: #081A33;
  --ds-blue-light: #E8EDF4;
  --ds-blue-bg: #F0F3F8;
  --ds-accent: #FF6600;
  --ds-accent-light: #FFF1E6;
  --ds-orange: #FF6600;
  --ds-orange-light: #FFF1E6;
  --ds-border: #E1E6EF;
  --ds-text: #18243A;
  --ds-text-secondary: #33415C;
  --ds-white: #FFFFFF;
  --ds-radius-sm: 8px;
  --ds-radius: 10px;
  --ds-radius-lg: 12px;
  --ds-radius-xl: 14px;
  --ds-shadow-hover: 0 18px 40px -14px rgba(11, 37, 69, 0.2);

  /* Tokens del header (header.css) */
  --ec-primary: #0B2545;
  --ec-accent: #FF6600;
  --ec-primary-soft: #E8EDF4;
}

/* ────────────────────────────────────────────────
   1. TIPOGRAFÍA — jerarquía sobria
   ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-content-wrap h1,
.hero-slider-content h1 {
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.ds-heading h2,
.feature-content-wrap h2,
.cta-content-wrap h2 {
  font-weight: 650;
}
p, li {
  line-height: 1.65;
}

/* ────────────────────────────────────────────────
   2. MASTHEAD — header sólido azul marino
   ──────────────────────────────────────────────── */
.main-header-menu-wrap,
.main-header-menu-wrap.affix,
.main-header-menu-wrap.bg-white,
.main-header-menu-wrap.bg-transparent {
  background: #0B2545 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none !important;
}
.main-header-menu-wrap:hover {
  background: #0B2545 !important;
}
.ec-nav-mobile-top,
html.dark-mode .ec-nav-mobile-top {
  background: #0B2545 !important;
}
/* Tarjetas del menú desplegable: blancas y planas */
.ec-card {
  background: #FFFFFF !important;
  border: 1px solid var(--ui-border);
  box-shadow: none;
}
.ec-card:hover {
  border-color: rgba(11, 37, 69, 0.28);
  box-shadow: var(--ui-shadow);
}
.ec-btn--primary {
  background: #FF6600 !important;
  border-color: #FF6600 !important;
  box-shadow: 0 2px 6px -3px rgba(255, 102, 0, 0.5) !important;
}
.ec-btn--primary:hover,
.ec-btn--primary:focus-visible {
  background: #E85C00 !important;
  border-color: #E85C00 !important;
  box-shadow: 0 4px 10px -4px rgba(255, 102, 0, 0.5) !important;
  filter: none;
}

/* ────────────────────────────────────────────────
   3. HEROES — fondos sólidos (sin gradiente/aura)
   ──────────────────────────────────────────────── */
section.gradient-bg::before,
section.primary-bg::before {
  background: var(--v4-grid);
}
.bg-image[data-overlay]:before,
.hero-equal-height[data-overlay]:before {
  background: rgba(5, 9, 20, 0.86) !important;
}
.big-price-wrap .price-block .offer-price {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #FFFFFF;
}
.big-price-wrap span.regular-price strong {
  color: #FFC08A;
}
.headline i {
  box-shadow: 0 0 0 6px rgba(255, 102, 0, 0.14);
}
.img-wrap img,
.cta-img-wrap {
  filter: drop-shadow(0 14px 26px rgba(11, 37, 69, 0.18));
}

/* ────────────────────────────────────────────────
   4. BOTONES — sólidos, radio pequeño, sin glow
   ──────────────────────────────────────────────── */
.btn, .btn-primary, .btn-secondary, .btn-light, .btn-dark,
.btn-outline-primary, .btn-outline-light, .btn-outline-secondary,
.btn-tertiary, .ds-btn, .ds-btn-sm, .ds-btn-sm-outline,
.hp-btn, .hp-btn-primary, .ec-btn, .subscribe-form input.button {
  border-radius: 6px !important;
}
.btn-primary,
.btn-tertiary,
.ds-btn-primary,
.hp-btn-primary,
.ec-btn--primary {
  background: #FF6600 !important;
  border-color: #FF6600 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
.btn-primary:hover,
.btn-tertiary:hover,
.ds-btn-primary:hover,
.hp-btn-primary:hover,
.ec-btn--primary:hover {
  background: #E85C00 !important;
  border-color: #E85C00 !important;
  color: #FFFFFF !important;
  filter: none;
}
.btn-outline-primary {
  color: #0B2545 !important;
  border-color: #0B2545 !important;
}
.btn-outline-primary:hover {
  background: #0B2545 !important;
  border-color: #0B2545 !important;
  color: #FFFFFF !important;
}
.btn-dark {
  background: #0B2545 !important;
  border-color: #0B2545 !important;
}
.ds-btn {
  border: 1px solid var(--ui-border-strong);
  color: var(--ui-ink);
  background: #FFFFFF;
}
.ds-btn:hover {
  border-color: #0B2545;
  color: #0B2545;
  background: var(--ui-primary-soft);
  transform: translateY(-1px);
}
.ds-btn-primary {
  border: 1px solid #FF6600;
}
.hp-btn {
  border: 1px solid var(--ui-border-strong);
  color: var(--ui-ink);
  background: #FFFFFF;
}
.hp-btn:hover {
  border-color: #0B2545;
  color: #0B2545;
  background: var(--ui-primary-soft);
}
.hp-btn-primary {
  border: 1px solid #FF6600;
}
.hp-btn.hp-btn--inline {
  display: inline-block;
  width: auto;
  padding: 0 32px;
}
.btn:focus-visible,
.ds-btn:focus-visible,
.hp-btn:focus-visible,
.ec-btn:focus-visible {
  box-shadow: var(--ui-ring);
}

/* ────────────────────────────────────────────────
   5. TARJETAS — blancas, borde 1px, sombra solo hover
   ──────────────────────────────────────────────── */
.ds-card,
.ds-pricing,
.hp-card,
.single-pricing-pack,
.single-vps-item,
.custom-plan-box,
.app-list li a,
.single-popular-domain,
.domain-list li,
.single-blog-article,
.login-signup-wrap,
.contact-us-form-wrap {
  background: #FFFFFF !important;
  border: 1px solid var(--ui-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.ds-card:hover,
.ds-pricing:hover,
.hp-card:hover,
.single-pricing-pack:hover,
.single-vps-item:hover,
.app-list li a:hover,
.domain-list li:hover,
.single-blog-article:hover {
  transform: translateY(-3px);
  box-shadow: var(--ui-shadow) !important;
  border-color: rgba(11, 37, 69, 0.25) !important;
}
/* Barra superior decorativa (gradiente) de las tarjetas de precio */
.ds-pricing::before {
  display: none;
}
.ds-pricing-icon {
  border-radius: 10px;
}
.ds-pricing-icon.blue,
.ds-pricing-icon.cyan,
.ds-pricing-icon.indigo,
.ds-pricing-icon.morado {
  background: var(--ui-primary-soft);
  color: var(--ui-primary);
}
.ds-pricing-icon.orange { background: var(--ui-accent-soft); color: #FF6600; }
.ds-pricing-icon.red { background: #FBEAEA; color: #C03434; }
.ds-pricing-icon.green { background: #EAF6EF; color: #2E8B57; }

/* Tarjeta destacada — borde azul marino, sin brillo */
.ds-popular,
.hp-card-popular {
  border: 2px solid #0B2545 !important;
  box-shadow: 0 6px 18px -12px rgba(11, 37, 69, 0.18) !important;
}
.ds-popular:hover,
.hp-card-popular:hover {
  border-color: #0B2545 !important;
  box-shadow: 0 10px 24px -12px rgba(11, 37, 69, 0.22) !important;
}

/* Cabeceras de tarjeta legacy */
.single-pricing-pack .pricing-header {
  background: #F4F6FA !important;
}
.single-pricing-pack.popular-price .pricing-header {
  background: #0B2545 !important;
}

/* Insignias — planas */
.ds-badge, .hp-badge {
  background: #0B2545 !important;
  box-shadow: none !important;
}
.ds-badge.warning { background: #FF6600 !important; }
.hp-card-popular .hp-badge { background: #FF6600 !important; }

/* ────────────────────────────────────────────────
   6. CHECKMARKS — discretos (gris oscuro / acento)
   ──────────────────────────────────────────────── */
.ds-pricing-features li i,
.hp-features li i,
.pricing-feature-list li i.icon-check,
.ds-icon-list li i,
.custom-vps-list li i {
  color: #425466 !important;
}
.fa-check-circle.text-success,
.fa-circle-check.text-success {
  color: #425466 !important;
}
/* En héroes oscuros los checks usan el acento */
.tech-feature-list li i,
.hero-content-wrap li i,
.hero-slider-content li i {
  color: #FF6600 !important;
  filter: none;
}

/* ────────────────────────────────────────────────
   7. PRECIOS — números sobrios
   ──────────────────────────────────────────────── */
.ds-pricing-name,
.hp-name,
.single-pricing-pack .pricing-header .price,
.single-pricing-pack .pricing-header h6 {
  font-weight: 700 !important;
}
.hp-price .amount {
  color: var(--ui-ink);
  letter-spacing: -0.02em;
}
.ds-pricing-amount {
  color: var(--ui-ink);
}
.ds-pricing-period {
  color: var(--ui-muted);
}

/* ────────────────────────────────────────────────
   8. SELECTOR VPS (slider) e interactivos
   ──────────────────────────────────────────────── */
.custom-plan-box .slider-selection {
  background: #FF6600 !important;
}
.custom-plan-box .slider-handle {
  border-color: #0B2545 !important;
  box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.12), 0 2px 6px rgba(11, 37, 69, 0.25) !important;
}
.swiper-pagination-bullet {
  background: #9AA5B8;
}
.swiper-pagination-bullet-active {
  background: #FF6600 !important;
  width: 22px;
  border-radius: 999px;
}

/* ────────────────────────────────────────────────
   9. MAPA DE RED — panel sólido, marcadores naranja
   ──────────────────────────────────────────────── */
.network-map-wrap {
  background: #0B2545 !important;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--ui-shadow-lg);
}
.network-map-wrap::before {
  background: var(--v4-grid);
}
.custom-map-location li span {
  background: #FF6600;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.22), 0 0 10px rgba(255, 102, 0, 0.5);
}
.custom-map-location li span::after {
  border-color: rgba(255, 102, 0, 0.45);
}

/* ────────────────────────────────────────────────
   10. ERROR 404 Y VARIOS
   ──────────────────────────────────────────────── */
.error-content-wrap .notfound-404 h1 {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: #FFFFFF !important;
}
.review-author .author-avatar img {
  outline: 2px solid rgba(11, 37, 69, 0.18);
}
.tag-cloud > a:hover,
.post-tags > a:hover {
  background: #0B2545;
  border-color: #0B2545;
}
.tag-cloud > a,
.post-tags > a {
  border-radius: 6px;
}
.ds-eyebrow {
  background: var(--ui-primary-soft);
  border: 1px solid rgba(11, 37, 69, 0.16);
  color: var(--ui-primary);
  border-radius: 6px;
  letter-spacing: 0.12em;
}

/* ────────────────────────────────────────────────
   11. BLOQUES CTA / FOOTER — azul marino sólido
   ──────────────────────────────────────────────── */
.ds-cta,
.cta-section,
.gradient-bg,
.primary-bg {
  background: #0B2545 !important;
  background-image: none !important;
}
.footer-section {
  background: #0B2545 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.secondary-bg {
  background: #0B2545 !important;
}

/* ────────────────────────────────────────────────
   12. DOCUMENTACIÓN — coherente con la skin
   ──────────────────────────────────────────────── */
.docs-hero {
  background: #0B2545 !important;
}
.docs-search:focus-within {
  border-color: rgba(255, 102, 0, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.12) !important;
}
.docs-search__tag {
  color: #0B2545;
}
.docs-search__result:hover,
.docs-search__result.active {
  background: var(--ui-primary-soft) !important;
}
.docs-card__more,
.docs-pager__label,
.docs-toc a:hover {
  color: #FF6600 !important;
}
.docs-toc::marker,
.docs-toc a {
  color: var(--ui-primary);
}

/* ────────────────────────────────────────────────
   14. LISTAS DE CARACTERÍSTICAS — texto oscuro por defecto
   modern.css pintaba .tech-feature-list con texto blanco
   (pensado solo para héroes), dejando el texto invisible en
   cualquier sección clara de todas las páginas. Se invierte:
   oscuro global y blanco únicamente dentro de .hero-content-wrap.
   ──────────────────────────────────────────────── */
.tech-feature-list li {
  display: block;
  color: var(--ui-text) !important;
}
.tech-feature-list li strong {
  color: var(--ui-text) !important;
}
.hero-content-wrap .tech-feature-list li,
.hero-content-wrap .tech-feature-list li strong {
  color: rgba(255, 255, 255, 0.88) !important;
}
html.dark-mode .tech-feature-list li,
html.dark-mode .tech-feature-list li strong {
  color: var(--ds-text) !important;
}
html.dark-mode .hero-content-wrap .tech-feature-list li,
html.dark-mode .hero-content-wrap .tech-feature-list li strong {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* ────────────────────────────────────────────────
   13. MODO OSCURO — ajustes de la skin
   ──────────────────────────────────────────────── */
html.dark-mode .main-header-menu-wrap,
html.dark-mode .main-header-menu-wrap.affix,
html.dark-mode .main-header-menu-wrap.bg-white {
  background: #0B2545 !important;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
html.dark-mode .gradient-bg,
html.dark-mode .primary-bg,
html.dark-mode .ds-cta,
html.dark-mode .footer-section {
  background: #0B2545 !important;
}
html.dark-mode .ec-card {
  background: var(--ds-card-bg) !important;
  border-color: var(--ds-border) !important;
}
html.dark-mode .hp-card {
  background: var(--ds-card-bg) !important;
  border-color: var(--ds-border) !important;
}
html.dark-mode .hp-card .hp-name,
html.dark-mode .hp-card .hp-price .amount,
html.dark-mode .hp-card h3 {
  color: var(--ds-text) !important;
}
html.dark-mode .ds-pricing-features li i,
html.dark-mode .hp-features li i {
  color: var(--ds-text-muted) !important;
}
html.dark-mode .ds-pricing-icon.blue,
html.dark-mode .ds-pricing-icon.cyan,
html.dark-mode .ds-pricing-icon.indigo,
html.dark-mode .ds-pricing-icon.morado {
  background: rgba(11, 37, 69, 0.55);
  color: #9DB4DD;
}
html.dark-mode .ds-btn {
  background: var(--ds-input-bg) !important;
  border-color: var(--ds-border) !important;
  color: var(--ds-text) !important;
}
html.dark-mode .ds-btn:hover {
  border-color: #FF6600 !important;
  color: #FF6600 !important;
  background: rgba(255, 102, 0, 0.1) !important;
}
html.dark-mode .ds-btn-primary {
  background: #FF6600 !important;
  border-color: #FF6600 !important;
  color: #FFFFFF !important;
}
html.dark-mode .ds-popular,
html.dark-mode .hp-card-popular {
  border-color: #FF6600 !important;
}
html.dark-mode .single-pricing-pack.popular-price {
  border: 2px solid #FF6600 !important;
  box-shadow: none !important;
}
html.dark-mode .single-pricing-pack.popular-price .pricing-header {
  background: #0B2545 !important;
  background-image: none !important;
}
html.dark-mode .ds-eyebrow {
  background: rgba(11, 37, 69, 0.6);
  border-color: rgba(255, 255, 255, 0.14);
  color: #FF9A52;
}
html.dark-mode .ds-badge.warning,
html.dark-mode .hp-card-popular .hp-badge {
  background: #FF6600 !important;
}