/* =========================================================
   Variables globales de marca (paleta solicitada)
   ========================================================= */
:root {
  --brand-dark: #1F4E79;
  --brand-mid: #2E75B6;
  --brand-light: #5B9BD5;
  --brand-soft: #AFCBEF;
  --accent-main: #ED7D31;
  --accent-strong: #F28C28;
  --accent-soft: #F4A261;
  --highlight: #FFB000;
}

/* Base de tipografía y comportamiento general */
body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: #1f2937;
}

/* Utilidades de color reutilizables */
.bg-brand-primary { background: var(--brand-mid); }
.bg-brand-dark { background: var(--brand-dark); }
.text-brand-primary { color: var(--brand-dark); }

/* =========================================================
   Botones CTA y variantes de acción
   ========================================================= */
.btn-cta {
  background: linear-gradient(135deg, var(--accent-main), var(--accent-strong));
  color: #fff;
  border: 0;
}
.btn-cta:hover { background: linear-gradient(135deg, #d96f28, #e47e1e); color: #fff; }

.btn-outline-brand {
  border: 1px solid var(--brand-mid);
  color: var(--brand-mid);
}
.btn-outline-brand:hover { background: var(--brand-mid); color: #fff; }

.btn-highlight {
  background-color: var(--highlight);
  border-color: var(--highlight);
  color: #212529;
}

/* =========================================================
   Header y navegación
   ========================================================= */
.nav-link {
  font-weight: 500;
}
.nav-link.active,
.nav-link:hover {
  color: var(--accent-main) !important;
}

/* Logo navbar */
.logo-navbar {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Ajuste en mobile */
@media (max-width: 768px) {
    .logo-navbar {
        height: 38px;
    }
}

/* =========================================================
   Hero y elementos visuales destacados
   ========================================================= */
.hero-section {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-mid));
}
.hero-slide {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  min-height: 220px;
}

/* Cards elevadas reutilizables */
.card-elevated {
  border: 0;
  box-shadow: 0 10px 25px rgba(31, 78, 121, 0.12);
}


/* =========================================================
   Bloque demo del cotizador (resultado bloqueado)
   ========================================================= */
.result-lock {
  border-left: 4px solid var(--accent-main);
}
.blur-box {
  background: rgba(175, 203, 239, 0.4);
  backdrop-filter: blur(4px);
  border: 1px dashed var(--brand-mid);
}

/* Sección pricing */
.pricing-card { border: 0; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); }
.price { font-size: 1.75rem; font-weight: 700; color: var(--brand-dark); }
.border-brand { border: 2px solid var(--accent-main) !important; }

/* Beneficios */
.benefit-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  font-weight: 600;
  text-align: center;
}

/* CTA final */
.cta-final {
  background: linear-gradient(120deg, var(--brand-mid), var(--brand-light));
}

/* Footer */
.footer-link { color: #dbeafe; text-decoration: none; }
.footer-link:hover { color: var(--accent-soft); }
.text-footer-note { color: #bfdbfe; }

/* =========================================================
   Responsive: ajustes mobile-first
   ========================================================= */
@media (max-width: 767.98px) {
  .hero-slide { min-height: 260px; }
}
