/* SVWHS Modern Styling 2026 - AGILSOFT, S.A. DE C.V. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus_Jakarta_Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* ANULACIÓN CRÍTICA: Bootstrap 3 fuerza html a 10px, encogiendo todo lo que usa rem. Forzamos 16px exactos */
html {
  font-size: 16px !important;
  -webkit-text-size-adjust: 100%;
}

:root {
  --sv-bg-dark: #070a13;
  --sv-bg-card: #0d1322;
  --sv-bg-card-hover: #121a2f;
  --sv-border: rgba(255, 255, 255, 0.08);
  --sv-border-hover: rgba(56, 189, 248, 0.35);
  --sv-primary: #0284c7;
  --sv-primary-hover: #0369a1;
  --sv-accent: #38bdf8;
  --sv-emerald: #10b981;
  --sv-text-main: #f8fafc;
  --sv-text-muted: #94a3b8;
  --sv-text-subtle: #64748b;
  --sv-radius: 16px;
  --sv-radius-sm: 8px;
}

body {
  background-color: var(--sv-bg-dark) !important;
  color: #cbd5e1 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif !important;
  color: var(--sv-text-main) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* 1. BARRA SUPERIOR MICRO-UTILIDAD (Delgada, discreta, sin duplicar navegación) */
.sv-top-utility {
  background: #04060c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 0;
  font-size: 13px !important;
}

.sv-top-utility-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sv-top-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sv-top-link {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sv-top-link:hover {
  color: #38bdf8 !important;
}

.sv-top-wa {
  color: #25D366 !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sv-top-wa:hover {
  color: #4ade80 !important;
}

.sv-top-sep {
  color: #334155;
}

/* 2. NAVBAR UNIFICADA PRINCIPAL (Única barra de navegación, clara y sin distorsión) */
.sv-navbar {
  background: rgba(7, 10, 19, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sv-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
}

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

.sv-nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.sv-nav-brand img {
  height: 42px;
  width: auto;
  filter: brightness(1.2);
}

.sv-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.sv-nav-menu li a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  padding: 6px 0;
  transition: color 0.2s ease;
  position: relative;
}

.sv-nav-menu li a:hover,
.sv-nav-menu li a.active {
  color: #38bdf8 !important;
}

.sv-nav-menu li a.link-agilsoft {
  color: #f59e0b !important;
  font-weight: 700 !important;
}

.sv-desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sv-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.sv-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.sv-mobile-dropdown {
  display: none;
  background: #090e1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0 20px;
  margin-top: 12px;
}

.sv-mobile-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sv-mobile-dropdown ul li a {
  display: block;
  padding: 10px 15px;
  color: #cbd5e1 !important;
  font-size: 16px !important;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 6px;
}

.sv-mobile-dropdown ul li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #38bdf8 !important;
}

@media (max-width: 991px) {
  .sv-desktop-nav {
    display: none !important;
  }
  .sv-mobile-toggle {
    display: flex !important;
  }
}

.sv-btn-nav-client {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.sv-btn-nav-client:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
  color: #fff !important;
}

/* 3. HERO SECTION */
.sv-hero {
  position: relative;
  padding: 85px 0 75px;
  background: radial-gradient(circle at 50% 15%, rgba(2, 132, 199, 0.16) 0%, rgba(7, 10, 19, 0) 70%);
  text-align: center;
}

.sv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 25px;
  letter-spacing: 0.04em;
}

.sv-hero h1 {
  font-size: 46px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 auto 22px;
  max-width: 960px;
}

.sv-hero h1 span.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 55%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sv-hero p.subtitle {
  font-size: 19px !important;
  color: #94a3b8 !important;
  max-width: 820px;
  margin: 0 auto 38px;
  line-height: 1.65 !important;
}

/* BUSCADOR DE DOMINIOS */
.sv-domain-box {
  max-width: 760px;
  margin: 0 auto 35px;
  background: #0d1322;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 25px rgba(2, 132, 199, 0.15);
}

.sv-domain-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sv-domain-prefix {
  padding: 0 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px !important;
  color: #64748b;
  font-weight: 600;
}

.sv-domain-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px !important;
  padding: 12px 6px;
  outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sv-domain-input::placeholder {
  color: #475569;
  font-size: 16px;
}

.sv-domain-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-weight: 700 !important;
  font-size: 16px !important;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sv-domain-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.sv-tld-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px !important;
  color: #94a3b8;
}

.sv-tld-chip {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-tld-chip strong {
  color: #fff;
  font-size: 15px;
}

/* 4. BARRA DE CONFIANZA */
.sv-trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--sv-border);
  border-bottom: 1px solid var(--sv-border);
  background: #05070e;
}

.sv-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  text-align: center;
}

.sv-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 15px !important;
  font-weight: 600;
}

.sv-trust-item i {
  color: #38bdf8;
  font-size: 20px;
}

/* 5. SECCIÓN DE PLANES DE HOSTING */
.sv-pricing-section {
  padding: 95px 0 85px;
  position: relative;
}

.sv-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px;
}

.sv-section-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.sv-section-header h2 {
  font-size: 38px !important;
  font-weight: 800 !important;
  margin-bottom: 16px;
}

.sv-section-header p {
  font-size: 18px !important;
  color: #94a3b8 !important;
  line-height: 1.6;
}

.sv-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.sv-plan-card {
  background: #0d1322;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 42px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.sv-plan-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.12);
}

.sv-plan-card.featured {
  background: linear-gradient(180deg, #10192e 0%, #0d1322 100%);
  border: 2px solid #0284c7;
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.25);
  transform: scale(1.02);
}

.sv-plan-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.sv-plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 6px 18px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.sv-plan-name {
  font-family: 'Outfit', sans-serif !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  margin-bottom: 10px;
  color: #fff !important;
}

.sv-plan-desc {
  font-size: 15px !important;
  color: #94a3b8 !important;
  min-height: 48px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.sv-plan-price-wrap {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-plan-price {
  font-family: 'Outfit', sans-serif;
  font-size: 48px !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1;
}

.sv-plan-price span.currency {
  font-size: 26px !important;
  font-weight: 700;
  vertical-align: super;
  color: #38bdf8;
}

.sv-plan-price span.period {
  font-size: 16px !important;
  font-weight: 500;
  color: #64748b;
}

.sv-plan-annual-hint {
  font-size: 14px !important;
  color: #10b981;
  font-weight: 700;
  margin-top: 8px;
}

.sv-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  flex: 1;
}

.sv-plan-features li {
  font-size: 15px !important;
  color: #cbd5e1;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.sv-plan-features li i {
  color: #10b981;
  margin-top: 3px;
  font-size: 16px;
  flex-shrink: 0;
}

.sv-plan-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sv-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff !important;
  text-align: center;
  padding: 14px 20px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.2s;
  border: none;
  display: block;
}

.sv-btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
  color: #fff !important;
}

.sv-btn-outline-wa {
  background: transparent;
  color: #25D366 !important;
  border: 1px solid rgba(37, 211, 102, 0.35);
  text-align: center;
  padding: 11px 16px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sv-btn-outline-wa:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25D366;
  color: #25D366 !important;
}

/* VPS BANNER */
.sv-vps-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 32px 42px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.sv-vps-banner h3 {
  font-size: 22px !important;
  margin: 0 0 6px;
  color: #fff !important;
}

.sv-vps-banner p {
  margin: 0;
  color: #cbd5e1 !important;
  font-size: 16px !important;
}

.sv-btn-vps {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff !important;
  padding: 13px 26px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
  white-space: nowrap;
}

.sv-btn-vps:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: #fff !important;
}

/* 6. GRILLA DE TECNOLOGÍAS */
.sv-tech-section {
  padding: 85px 0;
  background: #050811;
  border-top: 1px solid var(--sv-border);
}

.sv-feature-card {
  background: #0d1322;
  border: 1px solid var(--sv-border);
  border-radius: 16px;
  padding: 34px 28px;
  height: 100%;
  transition: all 0.25s ease;
}

.sv-feature-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
}

.sv-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #38bdf8;
  margin-bottom: 22px;
}

.sv-feature-card h3 {
  font-size: 20px !important;
  margin-bottom: 12px;
  color: #fff !important;
}

.sv-feature-card p {
  font-size: 15px !important;
  color: #94a3b8 !important;
  line-height: 1.65;
  margin: 0;
}

/* 7. PREGUNTAS FRECUENTES (FAQ) */
.sv-faq-section {
  padding: 90px 0;
}

.sv-accordion {
  max-width: 860px;
  margin: 0 auto;
}

.sv-faq-item {
  background: #0d1322;
  border: 1px solid var(--sv-border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.sv-faq-question {
  padding: 22px 26px;
  font-family: 'Outfit', sans-serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.sv-faq-question i {
  color: #38bdf8;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.sv-faq-item.active .sv-faq-question i {
  transform: rotate(180deg);
}

.sv-faq-answer {
  padding: 0 26px 24px;
  font-size: 16px !important;
  color: #94a3b8 !important;
  line-height: 1.7;
  display: none;
}

.sv-faq-item.active .sv-faq-answer {
  display: block;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .sv-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .sv-plan-card.featured {
    transform: none;
  }
  .sv-hero h1 {
    font-size: 34px !important;
  }
  .sv-hero p.subtitle {
    font-size: 17px !important;
  }
}

@media (max-width: 768px) {
  .sv-top-utility {
    display: none; /* Ocultamos la barra micro-utilidad en móviles para evitar acumular barras */
  }
  .sv-hero h1 {
    font-size: 28px !important;
  }
  .sv-hero p.subtitle {
    font-size: 16px !important;
  }
  .sv-domain-form {
    flex-direction: column;
  }
  .sv-domain-prefix {
    display: none;
  }
  .sv-domain-btn {
    width: 100%;
    justify-content: center;
  }
  .sv-vps-banner {
    flex-direction: column;
    text-align: center;
  }
}
