/* CSS Document */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
:root {
  --orion-dark: #001f3f;
  --orion-blue: #0056b3;
  --maiten-gold: #c9a96e; /* Un color sofisticado para la alianza */
}
body {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
}
/* Navbar estilizada */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}
.btn-primary {
  background-color: #0056b3;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
}
/* Hero Section */
.hero {
  padding: 100px 0;
  background: radial-gradient(circle at top right, #f8f9ff, #ffffff);
}
.hero h1 {
  font-weight: 800;
  font-size: 3.5rem;
  letter-spacing: -1px;
}
/* Bento Grid para Módulos */
.bento-grid {
  gap: 20px;
  padding: 40px 0;
}
.bento-item {
  background: #fdfdfd;
  border: 1px solid #eaeaea;
  border-radius: 24px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.bento-item.featured {
  background: #001f3f;
  color: white;
}
/* Pricing Cards */
.price-card {
  border-radius: 20px;
  border: 1px solid #eee;
  padding: 40px;
  text-align: center;
  height: 100%;
}
.price-card.popular {
  border: 2px solid #0056b3;
  position: relative;
}
.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #0056b3;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
}
/* Estilos actualizados para el Hero con Imagen */
.hero {
  position: relative;
  min-height: 80vh; /* Ocupa el 80% del alto de pantalla */
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.1) 100%), url('../img/hero_orion.webp');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}
.hero-content {
  max-width: 600px; /* Limitamos el ancho para que no tape elementos clave de la imagen */
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  letter-spacing: -1px;
  line-height: 1.1;
  color: #001f3f;
}
/* Ajuste para móviles: en pantallas chicas el degradado es más oscuro para legibilidad */
@media (max-width: 768px) {
  .hero {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0.7) 100%), url('../img/hero_orion.webp');
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
}
.services-header {
  padding: 80px 0;
  background: #001f3f;
  color: white;
  text-align: center;
}
/* Bento Box para Servicios */
.service-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}
.service-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: #0056b3;
}
/* Estilo para el Servicio de Consultoría (Destacado) */
.consultancy-section {
  background: #f8f9fa;
  border-radius: 30px;
  padding: 60px;
  margin-top: 50px;
}
.icon-box {
  width: 60px;
  height: 60px;
  background: #e7f0ff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #0056b3;
}
/* Estilo de Tarjetas de Sistemas OaaS */
.card-oaas {
  border: none;
  border-radius: 20px;
  background: #ffffff;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}
.card-oaas:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.badge-oaas {
  background: #e7f0ff;
  color: var(--orion-blue);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
/* Sección Consultoría SEO - Estilo Bento Light */
.consultancy-grid .box {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #eee;
  height: 100%;
  transition: 0.3s;
}
.consultancy-grid .box:hover {
  border-color: var(--orion-blue);
  background: #fdfdfd;
}
.consultancy-grid .title a {
  color: var(--orion-dark);
  text-decoration: none;
  font-weight: 700;
}
/* Sección Maitén de Boaria - Diseño Premium */
.maiten-highlight {
  background: linear-gradient(135deg, #001f3f 0%, #001122 100%);
  color: white;
  border-radius: 30px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.maiten-highlight::before {
  content: 'IT';
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 200px;
  font-weight: 900;
  opacity: 0.03;
  color: white;
}
.maiten-list li {
  list-style: none;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.maiten-list li::before {
  content: '✓';
  margin-right: 12px;
  color: var(--maiten-gold);
  font-weight: bold;
}
/* Footer de sección */
.section-header h3 {
  font-weight: 800;
  color: var(--orion-dark);
  position: relative;
  padding-bottom: 15px;
}
.section-header h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--orion-blue);
  border-radius: 2px;
}
/* Estilos específicos para la sección Hero de Sistemas y Servicios */
.services-hero {
  position: relative;
  min-height: 80vh; /* Ocupa el 80% del alto de la pantalla */
  display: flex;
  align-items: center;
  /* Reemplaza 'orion_hero_services.png' con la ruta de tu imagen generada */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.25) 100%), url('../img/orion_hero_services.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 60px 0;
}
.services-hero h1 {
  font-weight: 800;
  font-size: clamp(1.75rem, 6vw, 4.2rem);
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--orion-dark);
}
.services-hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem); /* Subtítulo fluido */
  color: #444; /* Un gris ligeramente más oscuro para legibilidad */
}
/* Adaptabilidad para móviles */
@media (max-width: 768px) {
  .services-hero {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.80) 70%, rgba(255, 255, 255, 0.25) 100%), url('../img/orion_hero_services.webp');
    text-align: center;
    min-height: 60vh;
  }
  .services-hero-content {
    margin: 0 auto;
  }
}
/*////////////////////////////////////////*/
.about-section{
    background:
        radial-gradient(
            circle at top right,
            rgba(7,65,223,.20) 0%,
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #0b0f19 0%,
            #141a28 100%
        );
}

.text-orion{
    color: #0741DF;
}

.about-card{
    background:rgba(255,255,255,.04);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    transition:all .3s ease;
}

.about-card:hover{
    transform:translateY(-5px);
    border-color:rgba(7,65,223,.5);
    box-shadow:0 0 25px rgba(7,65,223,.2);
}

.about-card h5{
    color:#fff;
    font-weight:600;
}

.about-card p{
    color:#d6d6d6;
    margin-bottom:0;
}

.about-highlight{
    background:linear-gradient(
        135deg,
        #0741DF,
        #01227C
    );
    border-radius:16px;
    box-shadow:0 0 30px rgba(7,65,223,.4);
}

.about-highlight h3,
.about-highlight p{
    color:#fff;
}

.about-badge{
    background:#0741DF;
    color:#fff;
    font-size:.85rem;
    letter-spacing:1px;
}

/*/////////////////////////////////////*/
.metodologia-section{
    background:
        radial-gradient(
            circle at top right,
            rgba(223,8,141,.18),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #0A0F18,
            #121A28
        );
}

.metodologia-card{
    background:#182131;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    transition:.3s;
}

.metodologia-card:hover{
    transform:translateY(-8px);
    border-color:#0741DF;
    box-shadow:0 0 25px rgba(7,65,223,.25);
}

.metodologia-card h4{
    color:#FFFFFF;
    font-weight:700;
    margin-bottom:15px;
}

.metodologia-card p{
    color:#D7DCE5;
    line-height:1.8;
}

.metodologia-highlight{
    background:
        linear-gradient(
            135deg,
            #0741DF,
            #01227C
        );

    border-radius:20px;
    box-shadow:
        0 0 40px rgba(7,65,223,.35);
}
/*/////////////////////////////////////////////////*/
.oaas-section{
    background:
        radial-gradient(
            circle at top right,
            rgba(223,8,141,.18),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #0A0F18,
            #121A28
        );
}

.oaas-section .text-orion{
    color:#DF088D;
}

.oaas-card{
    background:#182131;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    transition:.3s;
}

.oaas-card:hover{
    transform:translateY(-8px);
    border-color:#DF088D;
    box-shadow:0 0 25px rgba(223,8,141,.25);
}

.oaas-card h4{
    color:#fff;
    font-weight:700;
    margin-bottom:20px;
}

.oaas-card li{
    color:#D7DCE5;
    line-height:1.8;
}

.oaas-highlight{
    background:
        linear-gradient(
            135deg,
            #DF088D,
            #A00668
        );

    border-radius:20px;

    box-shadow:
        0 0 40px rgba(223,8,141,.35);
}
/*////////////////////////////////////////////////////////*/
        :root {
            --bg-dark: #0A0F18;
            --card-bg: #182131;
            --orion-primary: #DF088D;
            --orion-gradient: linear-gradient(45deg, #DF088D, #ff4da6);
            --text-muted: #a8bdd4;
        }

        #blog {
            background-color: var(--bg-dark);
            color: #ffffff;
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        /* Gradiente para el branding */
        #blog .text-orion {
            background: var(--orion-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
        }

        /* Tarjeta de Blog Mejorada */
        .blog-card {
            background: var(--card-bg);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                        border-color 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        /* Efectos Hover */
        .blog-card:hover {
            transform: translateY(-6px);
            border-color: rgba(223, 8, 141, 0.4);
            box-shadow: 0 12px 30px rgba(223, 8, 141, 0.15);
            cursor: pointer;
        }

        .blog-card .img-container {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16 / 10;
        }

        .blog-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

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

        /* Badge de categoría */
        .category-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: rgba(10, 15, 24, 0.75);
            backdrop-filter: blur(8px);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            z-index: 2;
        }

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

        .destacado-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: linear-gradient(135deg, #f5a623, #e8870a);
            color: #0a0f18;
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            padding: 0.25rem 0.6rem;
            border-radius: 20px;
        }

        .blog-card h3 {
            font-size: 1.35rem;
            font-weight: 700;
            line-height: 1.4;
            margin-top: 0.5rem;
            margin-bottom: 0.75rem;
            transition: color 0.2s ease;
        }

        .blog-card:hover h3 {
            color: var(--orion-primary);
        }

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

        /* Enlace invisible para hacer toda la tarjeta cliqueable */
        .stretched-link::after {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 1;
            content: "";
        }

        :root {
            --bg-dark: #0A0F18;
            --card-bg: #182131;
            --orion-primary: #DF088D;
            --orion-gradient: linear-gradient(45deg, #DF088D, #ff4da6);
            --text-muted: #a8bdd4;
            --text-body: #e2e8f0;
        }

        #single {
            background-color: var(--bg-dark);
            color: var(--text-body);
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            /* Suavizado de fuentes para pantallas oscuras */
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Enlaces generales dentro del contenido */
        a {
            color: var(--orion-primary);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        a:hover {
            color: #ff4da6;
            text-decoration: underline;
        }

        #single .text-orion {
            color: var(--orion-primary);
        }

        /* Botón volver */
        .btn-back {
            color: var(--text-muted);
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: color 0.2s ease, transform 0.2s ease;
        }
        .btn-back:hover {
            color: #fff;
            text-decoration: none;
            transform: translateX(-4px);
        }

        /* Categoría */
        .badge-category {
            background: rgba(223, 8, 141, 0.1);
            color: var(--orion-primary);
            border: 1px solid rgba(223, 8, 141, 0.2);
            padding: 0.5rem 1rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        /* Cabecera del Artículo */
        .article-header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            line-height: 1.25;
            color: #ffffff;
        }
        @media (min-width: 768px) {
            .article-header h1 { font-size: 3.5rem; }
        }

        .meta-author-img {
            width: 45px;
            height: 45px;
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid var(--orion-primary);
        }

        /* Imagen Destacada */
        .featured-image-container {
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }
        .featured-image {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
        }

        /* CUERPO DEL ARTÍCULO (Optimizado para lectura) */
        .article-content {
            font-size: 1.15rem;
            line-height: 1.8;
            color: var(--text-body);
        }

        /* Estilos internos automáticos para cuando metas HTML dinámico de un editor (CKEditor, TinyMCE, Markdown, etc.) */
        .article-content p {
            margin-bottom: 1.75rem;
        }

        .article-content h2, .article-content h3 {
            color: #ffffff;
            font-weight: 700;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
        }

        .article-content h2 { font-size: 1.85rem; }
        .article-content h3 { font-size: 1.5rem; }

        /* Bloques de código por si subes contenido técnico */
        .article-content pre {
            background: var(--card-bg);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 1.25rem;
            border-radius: 12px;
            color: #e2e8f0;
            overflow-x: auto;
            font-size: 0.95rem;
            margin: 2rem 0;
        }

        /* Citas textuales */
        .article-content blockquote {
            border-left: 4px solid var(--orion-primary);
            padding-left: 1.5rem;
            font-style: italic;
            color: var(--text-muted);
            margin: 2rem 0;
        }

        /* Caja de Compartir / Autor lateral fija en escritorio */
        .sidebar-box {
            background: var(--card-bg);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 1.5rem;
        }
        
        .share-btn {
            width: 48px;
            height: 48px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,0.05);
            color: #fff;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .share-btn:hover {
            background: var(--orion-primary);
            color: #fff;
            transform: translateY(-2px);
        }

        /* Carrusel de imágenes del artículo */
        #carruselArticulo .carousel-item img {
            max-height: 500px;
            object-fit: cover;
        }
        #carruselArticulo .carousel-control-prev,
        #carruselArticulo .carousel-control-next {
            width: 10%;
        }
        #carruselArticulo .carousel-indicators [data-bs-target] {
            background-color: var(--orion-primary);
        }
/*////////////////////////////////////////////////*/

.cliente-card{
    background:#182131;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:30px;
    text-align:center;
    transition:.3s;
}

.cliente-card img{
    border:1px solid #DF088D;
    border-radius:18px;
    background:#FFF;
}

.cliente-card:hover{
    transform:translateY(-8px);
    border-color:#DF088D;
    box-shadow:0 0 25px rgba(223,8,141,.25);
}

.cliente-logo{
    height:70px;
    width:auto;
    object-fit:contain;
    margin-bottom:20px;
    filter:grayscale(100%);
    opacity:.9;
    transition:.3s;
}

.cliente-card:hover .cliente-logo{
    filter:none;
    opacity:1;
}

.cliente-card h5{
    color:#fff;
    margin-bottom:10px;
}

.cliente-rubro{
    color:#f0329e;
    font-size:.9rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}


