/* -----------------------------------
   🎨 Variables globales
----------------------------------- */

:root,
html,
body {
    --color--primary-hue: 98;
    --color--primary-saturation: 46%;
    --color--primary-lightness: 49;
    --color--primary-30: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * (var(--color--primary-lightness) - (0.36 * var(--color--primary-lightness)))));
    --color--primary-40: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * (var(--color--primary-lightness) - (0.24 * var(--color--primary-lightness)))));
    --color--primary-50: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * var(--color--primary-lightness)));
    /* Blue medium */
    --color--primary-60: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * (var(--color--primary-lightness) + (0.24 * (100 - var(--color--primary-lightness))))));
    --color--primary-80: hsl(var(--color--primary-hue), var(--color--primary-saturation), calc(1% * (var(--color--primary-lightness) + (0.85 * (100 - var(--color--primary-lightness))))));
    --color-text-neutral-soft: var(--color--gray-45);
    --color-text-neutral-medium: var(--color--gray-20);
    --color-text-neutral-loud: var(--color--gray-5);
    --color-text-primary-medium: var(--color--primary-50);
    --color-text-primary-loud: var(--color--primary-40);
    --edocx-blue: #005284;
    --edocx-green: #6eb744;
    

}

section{
    text-shadow: 0 1px 0 #ffffff38;
}

.docxlogo{
    background-color: #00528466;
    display: block;
    margin: auto;
    max-width: 120px;
    border-radius: 100%;
    box-shadow: 0 0 50px 5px #6eb64375;
    margin-bottom: -5px;
    margin-top: -80px;
    border: solid 4px white;
}

#rotating-bg-front-page {
    top: -0.5em;
    opacity: 1 !important;
}

#rotating-bg-front-page::before{
  background-image: url(../../images/BG-HOME-edocx.png) !important;
}


#rotating-detail-footer::before {
    background-image: url(../../images/BG-HOME-footer-edocx.png) !important;
}

/* -----------------------------------
   🌐 Estilos base del documento
----------------------------------- */
.edocx_card,
.edocx_p,
.edocx_btn,
.edocx_hero,
section {
    text-align: center;
}

/* -----------------------------------
   📝 Tipografías y títulos
----------------------------------- */
.edocx_h1,
.edocx_h2,
.edocx_h3 {
    margin: 10px 0;
}

.edocx_h1 {
  background-color: #001f7d;
}


.edocx_h2 {
    font-size: 2rem;
    color: var(--edocx-blue);
}

.edocx_h3 {
    font-size: 1.3rem;
}

.edocx_p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 10px auto;
    max-width: 800px;
}

hr {
    border: none;
    height: 3px;
    width: 80px;
    margin: 40px auto;
    background: linear-gradient(to right, transparent, var(--edocx-green), transparent);
    border-radius: 2px;
}

/* -----------------------------------
   🔘 Botones
----------------------------------- */
.edocx_btn {
    background: var(--edocx-blue);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.edocx_btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* -----------------------------------
   📦 Secciones y contenedores
----------------------------------- */
.edocx_section {
    padding: 2em 1em;
}

.edocx_cta {
    padding: 60px 20px;
}

/* -----------------------------------
   🗂️ Grid y tarjetas
----------------------------------- */
.edocx_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.edocx_card {
    flex: 1 1 calc(33.333% - 40px);
    max-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.edocx_card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.edocx_card:hover .edocx_icon,
.docxflow-slide:hover .edocx_icon {
    color: var(--edocx-green);
    transform: scale(1.2);
}

/* -----------------------------------
   ⭐ Iconos
----------------------------------- */
.edocx_icon {
    font-size: 2rem;
    margin-bottom: 10px;
    transition: transform 0.3s, color 0.3s;
    color: var(--edocx-blue);
}

/* -----------------------------------
   ❓ Preguntas frecuentes (FAQ)
----------------------------------- */
.edocx_faq {
    max-width: 900px;
    margin: auto;
    text-align: left;
}

.edocx_faq_item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.edocx_faq_item:hover {
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.15);
}

.edocx_faq_question {
    width: 100%;
    background: var(--edocx-blue);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.edocx_faq_question:hover {
    background: var(--edocx-green);
}

.edocx_faq_answer {
    display: none;
    padding: 15px;
    background: #fff;
}

/* -----------------------------------
   ✨ Animaciones
----------------------------------- */
.doxflow_animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.doxflow_animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------
   📋 Listas
----------------------------------- */
.edocx_faq{
    background-color: #0080cd3b;
    border-radius: 30%;
    box-shadow: 0 0 100px 100px #0080cd3b;
    transition: all 1s;
}

.edocx_faq:hover{
    background-color: #6eb6436e;
    box-shadow: 0 0 100px 100px #6eb6436e;
}

.edocx_reveal ul {
    display: table;
    font-size: 1rem;
    line-height: 2;
    margin: 10px auto;
    max-width: 80%;
}

.edocx_reveal ul li {
    text-align: left;
    line-height: 1.5;
    padding-bottom: 1em;
    margin: 0;
}

li {
    margin: 5px 0;
    text-align: center;
}

.edocx_faq_question.active {
    background: var(--edocx-green);
}


/* ===== Módulo DocxFlow ===== */
/* ===== Sección general ===== */
.docxflow-section {
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
}


.docxflow-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--edocx-blue);
}

.docxflow-intro {
    margin-block-end: 0px !important;
}

/* ===== Contenedor principal del slider ===== */
.docxflow-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    /* espacio para controles */
}

/* ===== Carril visible ===== */
.docxflow-track {
    border-radius: 20px;
    /* aquí sí va overflow:hidden para ocultar los slides fuera de vista */
    overflow: hidden;
}

.docxflow-slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

/* ===== Cada slide ===== */
.docxflow-slide {
    min-width: 90%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
    margin: 5%;
}

.docxflow-slide i {
    font-size: 60px;
    color: var(--edocx-blue);
    transition: color 0.3s ease;
    margin-bottom: 20px;
}

.docxflow-slide:hover i {
    color: var(--edocx-green);
}

.docxflow-slide h3 {
    font-size: 1.5rem;
    color: var(--edocx-blue);
    margin-bottom: 10px;
}

.docxflow-slide p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

/* ===== Controles prev/next ===== */
.docxflow-prev,
.docxflow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid var(--edocx-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--edocx-blue);
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 2;
}

.docxflow-prev:hover,
.docxflow-next:hover {
    background: var(--edocx-green);
    color: #fff;
    border-color: var(--edocx-green);
}

.docxflow-prev {
    left: 0;
}

.docxflow-next {
    right: 0;
}

/* ===== Dots ===== */
.docxflow-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.docxflow-dots button {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.docxflow-dots button.active {
    background: var(--edocx-green);
}

/* INTRO FACTURACION */

.servicio-facturacion {
    line-height: 1.6;
    font-size: 1rem;
    background-color: #0080cd3b;
    border-radius: 30%;
    box-shadow: 0 0 100px 100px #0080cd3b;
    text-shadow: 0 1px 0 white;
}

.servicio-facturacion h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--edocx-blue);
    margin-bottom: 20px;
}

.servicio-facturacion .intro {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-align: justify;
    padding: 0px 5em;
}

/* Grid para dos columnas */
.servicio-facturacion .contenido-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.servicio-facturacion .columna_l {
    text-align: right;
}

.servicio-facturacion .columna_r {
    text-align: left;
}

.servicio-facturacion .columna_l ul {
    justify-content: flex-end;
}

@media (max-width: 800px) {
    .servicio-facturacion .columna_l,.servicio-facturacion .columna_r{
        text-align: center !important;
        padding: 2em;
    }
    .servicio-facturacion .columna_l ul,.servicio-facturacion .columna_r ul{
        justify-content: center;
    }
}

/* Listas como tags */
.servicio-facturacion ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 0;
    margin: 15px 0;
}

.servicio-facturacion ul li {
    display: inline-block;
    background: #f9f9f9;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--edocx-blue);
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.servicio-facturacion ul li:hover {
    background: var(--edocx-green);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsivo: una sola columna en móviles */
@media (max-width: 768px) {
    .servicio-facturacion .contenido-grid {
        grid-template-columns: 1fr;
    }
}