
:root {
    --azul: #003149;
    --azul-md: #0665a5;
    --azul-lt: #e6eff6;
    --rojo: #aa0d2e;
    --rojo-lt: #f9e6ea;
    --bg: #f2f5fb;
    --card: #ffffff;
    --texto: #2d3748;
    --suave: #6b7280;
    --borde: rgba(0, 49, 73, 0.10);
    --sombra: 0 4px 24px rgba(0, 49, 73, 0.08);
    --sombra-h: 0 14px 40px rgba(0, 49, 73, 0.16);
    --r: 18px;
    --r-sm: 10px;
}


/* ============================================================
   RESET Y BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    margin: 0;
    font-family: 'Sora', sans-serif;
    color: var(--texto);
}


/* ============================================================
   HERO COMPARTIDO
   ============================================================ */
.hero-wrap {
    padding: 24px 24px 0;
}

.hero-wrap img {
    width: 100%;
    border-radius: var(--r);
    display: block;
    box-shadow: var(--sombra);
    transition: transform .5s;
    cursor: pointer;
}

.hero-wrap img:hover {
    transform: scale(1.01);
}


/* ============================================================
   ACCESIBILIDAD (compartido)
   ============================================================ */
  /* ACCESIBILIDAD */
        #accesibilidadBtn {
            position: fixed;
            left: 20px;
            bottom: 20px;
            width: 52px;
            height: 52px;
            background: var(--azul);
            color: #fff;
            font-size: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 9999;
            box-shadow: 0 6px 20px rgba(26, 51, 88, 0.35);
            transition: background .3s, transform .2s;
        }

        #accesibilidadBtn:hover {
            background: var(--rojo);
            transform: scale(1.08);
        }

        #accesibilidadPanel {
            display: none;
            position: fixed;
            left: 20px;
            bottom: 84px;
            background: var(--card);
            border: 1px solid var(--borde);
            border-radius: var(--r-sm);
            padding: 18px;
            z-index: 9998;
            box-shadow: var(--sombra-h);
            min-width: 185px;
        }

        #accesibilidadPanel h4 {
            font-size: 11px;
            font-weight: 700;
            color: var(--azul);
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        #accesibilidadPanel button {
            display: block;
            width: 100%;
            background: var(--azul-lt);
            border: none;
            border-radius: 8px;
            padding: 9px 12px;
            margin-bottom: 8px;
            font-size: 13px;
            color: var(--azul);
            cursor: pointer;
            text-align: left;
            font-family: 'Sora', sans-serif;
            transition: background .2s;
            font-weight: 500;
        }

        #accesibilidadPanel button:hover {
            background: var(--azul);
            color: #fff;
        }

        #accesibilidadPanel button.activo {
            background: var(--rojo);
            color: #fff;
        }



/* ============================================================
   FADE-UP (compartido)
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.fadee-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fadee-in.show {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   BANNER CIERRE (compartido)
   ============================================================ */
.banner-cierre {
    padding: 0 24px 48px;
}

.banner-cierre img {
    width: 100%;
    border-radius: var(--r);
    box-shadow: var(--sombra);
    height: 300px;
    object-fit: cover;
}


/* ============================================================
   ETIQUETAS DE SECCIÓN (variantes)
   ============================================================ */
/* Alineada izquierda con línea */
.section-proyec,
.section-expansion,
.section-empresa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rojo);
    margin-bottom: 6px;
}

.section-proyec::before,
.section-expansion::before,
.section-empresa::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--rojo);
    border-radius: 2px;
}

/* Centrada con líneas a los lados */
.section-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rojo);
    margin-bottom: 6px;
}

.section-text::before,
.section-text::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--borde);
}

/* Títulos */
.title-proyeccion,
.title-expansion,
.title-empresa {
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    color: var(--azul);
    margin-bottom: 6px;
    line-height: 1.2;
}

.title-questions,
.title-transparencia,
.title-revisiones {
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    color: var(--azul);
    margin-bottom: 6px;
    line-height: 1.2;
    text-align: center;
}

/* Barras decorativas */
.bar-proyec,
.bar-expansion,
.bar-empresa {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--rojo), var(--azul));
    border-radius: 3px;
    margin-bottom: 28px;
}

.bar-questions,
.bar-trans,
.bar-regulatorio {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--rojo), var(--azul));
    border-radius: 3px;
    margin: 0 auto 40px;
}


/* ============================================================
   MÓDULO: PROYECCIÓN
   ============================================================ */
.main-proyec,
.main-proyec * {
    font-family: 'Sora', sans-serif;
    color: var(--texto);
}

.main-proyec {
    max-width: 1180px;
    margin: 48px auto;
    padding: 0 24px 80px;
}

/* Intro card */
.intro-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    margin-bottom: 36px;
    transition: transform .3s, box-shadow .3s;
}

.intro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-h);
}

.intro-card p {
    font-size: 15px;
    color: var(--suave);
    line-height: 1.85;
    text-align: justify;
}

/* Showcase */
.showcase-section {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    margin-bottom: 36px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.show-card {
    border-radius: var(--r-sm);
    overflow: hidden;
    position: relative;
    height: 320px;
    box-shadow: var(--sombra);
    transition: transform .4s, box-shadow .4s;
    cursor: pointer;
}

.show-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--sombra-h);
}

.show-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.show-card:hover img {
    transform: scale(1.08);
}

.show-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 49, 73, .75) 0%, transparent 55%);
}

.show-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
}

.show-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Secondary card */
.secondary-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    margin-bottom: 36px;
}

.secondary-card p {
    font-size: 15px;
    color: var(--suave);
    line-height: 1.85;
    margin-bottom: 16px;
}

.secondary-card ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.secondary-card ul li {
    font-size: 14px;
    color: var(--suave);
    padding: 8px 0 8px 28px;
    border-bottom: 1px solid var(--borde);
    position: relative;
    line-height: 1.6;
}

.secondary-card ul li:last-child {
    border-bottom: none;
}

.secondary-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul), var(--rojo));
}

/* Carrusel */
.carousel-section {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    margin-bottom: 36px;
}

.carrusel {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 420px;
    margin: 24px auto 0;
    perspective: 1000px;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 100%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    transition: all 1.2s ease;
    border-radius: var(--r-sm);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-sm);
}

.slide.activo {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 5;
}

.slide.anterior {
    transform: translate(-125%, -50%) scale(0.6) rotateY(20deg);
    opacity: 0.5;
    z-index: 3;
    filter: blur(2px);
}

.slide.siguiente {
    transform: translate(25%, -50%) scale(0.6) rotateY(-20deg);
    opacity: 0.5;
    z-index: 3;
    filter: blur(2px);
}

.texto-nube {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .92);
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 14px;
    color: var(--azul);
    font-weight: 600;
    box-shadow: var(--sombra);
    white-space: nowrap;
}

.flecha-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .9);
    border: none;
    font-size: 22px;
    color: var(--azul);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--sombra);
    transition: background .3s, color .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flecha-btn:hover {
    background: var(--azul);
    color: #fff;
}

.flecha-btn.ant {
    left: 10px;
}

.flecha-btn.sig {
    right: 10px;
}

/* Energía */
.energia-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    margin-bottom: 36px;
}

.energia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.energia-img img {
    width: 100%;
    border-radius: var(--r-sm);
    box-shadow: var(--sombra);
}

.energia-texts p {
    font-size: 14px;
    color: var(--suave);
    line-height: 1.85;
    margin-bottom: 16px;
    text-align: justify;
}

@media (max-width: 768px) {

    .showcase-grid,
    .energia-grid {
        grid-template-columns: 1fr;
    }

    .carrusel {
        height: 260px;
    }

    .main-proyec {
        padding: 0 16px 40px;
    }
}


/* ============================================================
   MÓDULO: EXPANSIÓN
   ============================================================ */
.main-expansion {
    max-width: 1180px;
    margin: 48px auto;
    padding: 0 24px 80px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 28px;
    align-items: start;
}

.info-card {
    background: var(--card);
    border-radius: var(--r);
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-h);
}

.info-card-head {
    background: linear-gradient(90deg, var(--azul), var(--azul-md));
    padding: 20px 28px;
    border-left: 5px solid var(--rojo);
}

.info-card-head h3 {
    color: #fff;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    margin: 0 0 4px;
}

.info-card-head p {
    color: rgba(255, 255, 255, .60);
    font-size: 12px;
    margin: 0;
}

.info-card-body {
    padding: 28px;
}

.desc-text {
    font-size: 14px;
    color: var(--suave);
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 24px;
}

.plan-ref {
    background: var(--azul-lt);
    border-radius: var(--r-sm);
    border: 1px solid var(--borde);
    padding: 14px 18px;
    margin-bottom: 22px;
}

.plan-ref small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--suave);
    margin-bottom: 4px;
}

.plan-ref span {
    font-size: 14px;
    font-weight: 700;
    color: var(--azul);
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1.5px solid #dde3ed;
    border-radius: var(--r-sm);
    padding: 13px 16px;
    text-decoration: none;
    color: var(--texto);
    font-size: 14px;
    font-weight: 500;
    transition: all .25s;
}

.doc-item:hover {
    border-color: var(--azul);
    background: var(--azul-lt);
    color: var(--azul);
    transform: translateX(4px);
}

.doc-icon {
    width: 36px;
    height: 36px;
    background: var(--azul);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 16px;
}

.doc-arrow {
    margin-left: auto;
    color: var(--suave);
    font-size: 16px;
}

.img-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.img-main {
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    position: relative;
}

.img-main img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.img-main:hover img {
    transform: scale(1.03);
}

.img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 49, 73, .88) 0%, transparent 100%);
    color: #fff;
    padding: 18px 16px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.img-sm {
    border-radius: var(--r-sm);
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 49, 73, .10);
    border: 1px solid var(--borde);
    position: relative;
}

.img-sm img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.img-sm:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .img-row {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   MÓDULO: PREGUNTAS FRECUENTES
   ============================================================ */
.main-questions,
.main-questions * {
    font-family: 'Sora', sans-serif;
    color: var(--texto);
}

.main-questions {
    max-width: 900px;
    margin: 48px auto;
    padding: 0 24px 80px;
}

.faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card);
    border-radius: var(--r-sm);
    border: 1px solid var(--borde);
    box-shadow: var(--sombra);
    overflow: hidden;
    transition: box-shadow .3s;
}

.faq-item:hover {
    box-shadow: var(--sombra-h);
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
    border-left: 4px solid var(--azul);
    transition: border-color .3s;
}

.faq-item.open .faq-trigger {
    border-left-color: var(--rojo);
}

.questions {
    font-size: 15px;
    font-weight: 600;
    color: var(--azul);
    line-height: 1.4;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--azul-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--azul);
    font-weight: 300;
    transition: transform .35s, background .3s;
    line-height: 1;
    user-select: none;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--rojo);
    color: #fff;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    padding: 0 24px;
}

.faq-item.open .content {
    max-height: 300px;
    padding: 0 24px 20px;
}

.answer {
    font-size: 14px;
    color: var(--suave);
    line-height: 1.8;
    border-top: 1px solid var(--borde);
    padding-top: 14px;
}

.answer strong {
    color: var(--azul);
}

.faq-img {
    text-align: center;
    margin: 40px 0;
}

.faq-img img {
    max-width: 280px;
    opacity: .85;
}


/* ============================================================
   MÓDULO: TRANSPARENCIA
   ============================================================ */
.main-transp,
.main-transp * {
    font-family: 'Sora', sans-serif;
    color: var(--texto);
}

.main-transp {
    max-width: 1180px;
    margin: 48px auto;
    padding: 0 24px 80px;
}

.transp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.acc-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acc-item {
    background: var(--card);
    border-radius: var(--r-sm);
    border: 1px solid var(--borde);
    box-shadow: var(--sombra);
    overflow: hidden;
    transition: box-shadow .3s;
}

.acc-item:hover {
    box-shadow: var(--sombra-h);
}

.acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    gap: 12px;
    background: linear-gradient(135deg, var(--azul), var(--azul-md));
    transition: background .3s;
}

.acc-item.open .acc-header {
    background: linear-gradient(135deg, #001f2e, var(--azul));
}

.acc-header-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.acc-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform .35s;
    line-height: 1;
}

.acc-item.open .acc-icon {
    transform: rotate(45deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    padding: 0 20px;
}

.acc-item.open .acc-body {
    max-height: 600px;
    padding: 16px 20px 20px;
}

.acc-body ol,
.acc-body ul {
    padding-left: 20px;
    margin: 0;
}

.acc-body li {
    font-size: 13px;
    color: var(--suave);
    padding: 5px 0;
    line-height: 1.6;
}

.acc-body li a {
    color: var(--rojo);
    text-decoration: none;
    font-weight: 500;
}

.acc-body li a:hover {
    text-decoration: underline;
}

.acc-body p {
    font-size: 13px;
    color: var(--suave);
    line-height: 1.7;
    margin-bottom: 10px;
}

.acc-body p a {
    color: var(--rojo);
    text-decoration: none;
    font-weight: 500;
}

.acc-body p:last-child {
    margin-bottom: 0;
}

.info-box {
    background: var(--azul-lt);
    border-radius: var(--r-sm);
    padding: 16px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.info-val {
    font-size: 13px;
    color: var(--suave);
}

.info-val a {
    color: var(--rojo);
    text-decoration: none;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rojo);
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    transition: background .3s;
}

.pdf-link:hover {
    background: var(--azul);
    color: #fff;
}

@media (max-width: 768px) {
    .transp-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   MÓDULO: REGULATORIO
   ============================================================ */
.main-regulatorio,
.main-regulatorio * {
    font-family: 'Sora', sans-serif;
    color: var(--texto);
}

.main-regulatorio {
    max-width: 1060px;
    margin: 48px auto;
    padding: 0 24px 80px;
}

.reg-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 28px;
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.reg-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-h);
}

.reg-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--azul), var(--rojo));
}

.reg-card.reverse {
    grid-template-columns: 1fr 200px;
}

.reg-card.reverse .reg-img {
    order: 2;
}

.reg-card.reverse .reg-body {
    order: 1;
}

.reg-img img {
    width: 100%;
    border-radius: var(--r-sm);
    box-shadow: var(--sombra);
}

.reg-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    background: var(--azul-lt);
    color: var(--azul);
    margin-bottom: 10px;
}

.reg-title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--azul);
    margin-bottom: 14px;
}

.reg-text {
    font-size: 14px;
    color: var(--suave);
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 20px;
}

.btn-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--azul);
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: background .3s, transform .2s;
}

.btn-doc:hover {
    background: var(--rojo);
    transform: translateY(-2px);
    color: #fff;
}

.btn-doc-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--azul);
    border: 2px solid var(--azul);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: all .3s;
    margin-left: 10px;
}

.btn-doc-outline:hover {
    background: var(--azul);
    color: #fff;
}

@media (max-width: 768px) {

    .reg-card,
    .reg-card.reverse {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .reg-card.reverse .reg-img,
    .reg-card.reverse .reg-body {
        order: unset;
    }
}


/* ============================================================
   MÓDULO: EMPRESA
   ============================================================ */
.main-empresa {
    max-width: 1180px;
    margin: 48px auto;
    padding: 0 24px 80px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
    margin-top: 40px;
}

.stat-card {
    background: var(--card);
    border-radius: var(--r-sm);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--borde);
    box-shadow: var(--sombra);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--azul), var(--rojo));
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-h);
}

.stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    color: var(--rojo);
    line-height: 1;
}

.stat-lbl {
    font-size: 11px;
    color: var(--suave);
    margin-top: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qs-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 36px;
    transition: transform .3s, box-shadow .3s;
}

.qs-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-h);
}

.qs-card img {
    width: 100%;
    border-radius: var(--r-sm);
    box-shadow: var(--sombra);
}

.qs-card p {
    font-size: 15px;
    color: var(--suave);
    line-height: 1.85;
    text-align: justify;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.mv-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 32px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: start;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.mv-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--azul), var(--rojo));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-h);
}

.mv-card:hover::after {
    transform: scaleX(1);
}

.mv-card img {
    width: 100%;
    border-radius: var(--r-sm);
}

.mv-title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--azul);
    margin-bottom: 12px;
}

.mv-text {
    font-size: 14px;
    color: var(--suave);
    line-height: 1.8;
    text-align: justify;
}

.pol-card {
    background: var(--card);
    border-radius: var(--r);
    padding: 40px;
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
    transition: transform .3s, box-shadow .3s;
}

.pol-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-h);
}

.pol-card img {
    width: 100%;
    border-radius: var(--r-sm);
}

.pol-intro {
    font-size: 14px;
    color: var(--suave);
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 20px;
}

.pol-list {
    list-style: none;
    padding: 0;
    counter-reset: pol;
}

.pol-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px solid var(--borde);
    font-size: 14px;
    color: var(--suave);
    line-height: 1.7;
    counter-increment: pol;
}

.pol-list li:last-child {
    border-bottom: none;
}

.pol-list li::before {
    content: counter(pol);
    position: absolute;
    left: 0;
    top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--azul);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {

    .stats-row,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .qs-card,
    .pol-card,
    .mv-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}


/* ============================================================
   MÓDULO: FACTURA
   ============================================================ */
.factura-wrap {
    max-width: 800px;
    margin: 36px auto 70px;
    padding: 0 20px;
}

.section-consulta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-consulta-line {
    flex: 1;
    height: 1px;
    background: var(--borde);
}

.section-consulta-badge {
    background: var(--azul);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

.f-card {
    background: var(--card);
    border-radius: var(--r);
    border: 1px solid var(--borde);
    box-shadow: var(--sombra);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}

.f-card:hover {
    box-shadow: var(--sombra-h);
    transform: translateY(-3px);
}

.f-card-strip {
    height: 3px;
    background: linear-gradient(90deg, var(--azul) 0%, var(--rojo) 100%);
}

.f-card-body {
    padding: 28px 32px;
}

.f-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--azul);
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-card-title .ic {
    width: 32px;
    height: 32px;
    background: var(--azul-lt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.items {
    list-style: none;
    padding: 0;
    counter-reset: s;
    margin-bottom: 22px;
}

.items li {
    position: relative;
    padding: 10px 0 10px 38px;
    font-size: 14px;
    color: var(--suave);
    border-bottom: 1px solid var(--borde);
    counter-increment: s;
    line-height: 1.65;
}

.items li:last-child {
    border-bottom: none;
}

.items li::before {
    content: counter(s);
    position: absolute;
    left: 0;
    top: 11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--azul-lt);
    color: var(--azul);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(0, 49, 73, .15);
}

.items li strong {
    color: var(--azul);
}

.tip {
    background: var(--azul-lt);
    border-left: 3px solid var(--azul);
    border-radius: var(--r-sm);
    padding: 11px 16px;
    font-size: 13px;
    color: var(--azul);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    margin-top: 8px;
}

.fg label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azul);
    margin-bottom: 6px;
}

.fg input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid rgba(0, 49, 73, .14);
    border-radius: var(--r-sm);
    font-size: 14px;
    color: var(--texto);
    background: #f8fafc;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.fg input:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(0, 49, 73, .08);
    background: #fff;
}

.btn-exec {
    padding: 10px 24px;
    background: var(--rojo);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: .3px;
    transition: background .25s, box-shadow .25s, transform .2s;
}

.btn-exec:hover {
    background: var(--azul);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(170, 13, 46, .22);
}

.pse-wrap {
    text-align: center;
    padding: 14px 0 4px;
}

.pse-wrap img {
    max-width: 130px;
    opacity: .80;
    transition: opacity .3s, transform .3s;
}

.pse-wrap img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.modal-header {
    background: var(--rojo) !important;
    border-bottom: none;
}

.modal-header .heading {
    color: #fff;
    font-weight: 700;
    margin: 0;
    font-size: 15px;
}

.modal-content {
    border-radius: var(--r);
    overflow: hidden;
    border: none;
}

.modal-body label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rojo);
    margin-top: 10px;
    display: block;
    margin-bottom: 3px;
}

.modal-body .form-control {
    border-radius: var(--r-sm);
    font-size: 13px;
    border: 1px solid var(--borde);
    background: #f8fafc;
}

.modal-footer {
    background: #f7f9fc;
    border-top: 1px solid var(--borde);
}

.btn-dl {
    background: var(--rojo);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.btn-dl:hover {
    background: var(--azul);
}

@media (max-width: 640px) {
    .fields-grid {
        grid-template-columns: 1fr;
    }

    .f-card-body {
        padding: 20px;
    }
}


/* ============================================================
   MÓDULO: CONVENIOS / PAGOS EN LÍNEA
   ============================================================ */
.opys-main {
    max-width: 1060px;
    margin: 40px auto;
    padding: 0 24px 80px;
    font-family: 'Sora', sans-serif;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--azul);
    text-align: center;
    margin-bottom: 6px;
    font-family: 'Sora', sans-serif;
}

.section-bar {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--rojo), var(--azul));
    border-radius: 3px;
    margin: 0 auto 40px;
}

.section-intro {
    text-align: center;
    font-size: 15px;
    color: var(--suave);
    margin-bottom: 36px;
    font-family: 'Sora', sans-serif;
}

.pay-card {
    background: var(--card);
    border-radius: var(--r);
    box-shadow: var(--sombra);
    border: 1px solid var(--borde);
    margin-bottom: 28px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.pay-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-h);
}

.pay-card-head {
    background: linear-gradient(90deg, var(--azul), var(--azul-md));
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.pay-card-head .head-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.pay-card-head h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    font-family: 'Sora', sans-serif;
}

.pay-card-body {
    padding: 28px;
}

.pay-card-body p {
    font-size: 14px;
    color: var(--suave);
    line-height: 1.85;
    margin-bottom: 20px;
    font-family: 'Sora', sans-serif;
}

.steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step;
    margin-bottom: 24px;
}

.steps-list li {
    position: relative;
    padding: 10px 0 10px 40px;
    font-size: 14px;
    color: var(--suave);
    border-bottom: 1px solid var(--borde);
    counter-increment: step;
    line-height: 1.6;
    font-family: 'Sora', sans-serif;
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul), var(--rojo));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-pse-wrap {
    text-align: center;
    margin-top: 8px;
}

.btn-pse-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--azul);
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    transition: background .3s, transform .2s;
    margin-bottom: 20px;
}

.btn-pse-link:hover {
    background: var(--rojo);
    transform: translateY(-2px);
    color: #fff;
}

.pse-logo-wrap {
    text-align: center;
    margin-top: 12px;
}

.pse-logo-wrap img {
    max-width: 160px;
    transition: transform .3s;
}

.pse-logo-wrap img:hover {
    transform: scale(1.05);
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
}

.logo-item {
    background: #f8fafc;
    border: 1px solid var(--borde);
    border-radius: var(--r-sm);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .3s, transform .3s;
    min-width: 100px;
}

.logo-item:hover {
    box-shadow: var(--sombra-h);
    transform: translateY(-3px);
}

.logo-item img {
    max-width: 90px;
    max-height: 40px;
    object-fit: contain;
}

.region-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rojo-lt);
    color: var(--rojo);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    font-family: 'Sora', sans-serif;
}

.note-text {
    font-size: 12px;
    color: var(--suave);
    font-style: italic;
    margin-top: 12px;
    padding: 10px 14px;
    background: var(--azul-lt);
    border-radius: var(--r-sm);
    border-left: 3px solid var(--azul);
    font-family: 'Sora', sans-serif;
}

@media (max-width: 768px) {
    .logos-grid {
        justify-content: center;
    }

    .opys-main {
        padding: 0 16px 40px;
    }
}


/* ============================================================
   MÓDULO: CONSUMO 12 MESES
   ============================================================ */
.section-consumo {
    max-width: 960px;
    margin: 100px auto 60px;
    padding: 0 15px;
}

.header-consumo {
    background: var(--azul);
    padding: 1.2rem 1.8rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 3px solid var(--rojo);
}

.section-text h1 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
}

.section-text p {
    font-size: 12px;
    color: #7fa8cc;
    margin: 0;
}

.body-consumo {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1.5rem;
}

.grid-consumo {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    align-items: start;
}

.oc-chart-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.4rem;
}

.card-consumo {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.4rem;
}

.section-info {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #dee2e6;
}

.field-consumo label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.field-consumo input {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    color: #495057;
    background: #fff;
    outline: none;
}

.field-consumo input[readonly] {
    background: #e9ecef;
    color: #6c757d;
}

.stats-consumo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 1rem;
}

.stat-consumo {
    background: #fff;
    border-radius: 8px;
    padding: .7rem .9rem;
    border: 1px solid #e9ecef;
}

.stat-consumo .s-lbl {
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 3px;
}

.stat-consumo .s-val {
    font-size: 15px;
    font-weight: 600;
    color: var(--azul);
}

.icon-consumo {
    margin-top: 1.5rem;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.icon-consumo i {
    font-size: 42px;
    color: var(--azul);
}

.icon-consumo p {
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .grid-consumo {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   MÓDULO: LECTURA ACTUAL / MEDIDOR
   ============================================================ */
.medidor {
    max-width: 900px;
    margin: 100px auto 60px;
    padding: 0 15px;
}

.medidor-header {
    background: var(--azul);
    padding: 1.2rem 1.8rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 3px solid var(--rojo);
}

.medidor-text h1 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
}

.medidor-text p {
    font-size: 12px;
    color: #7fa8cc;
    margin: 0;
}

.body-medidor {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1.5rem;
}

.grid-medidor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.card-medidor {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.4rem;
}

.card-medidor-right {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.4rem;
    text-align: center;
}

.oc-section-lbl {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #dee2e6;
}

.field-medidor label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.field-medidor input {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    background: #e9ecef;
    color: #6c757d;
    outline: none;
}

.oc-img-box {
    border: 2px dashed #28a745;
    border-radius: 12px;
    padding: 20px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    transition: .3s;
    color: #adb5bd;
    font-size: 13px;
}

.oc-img-box:hover {
    background: rgba(40, 167, 69, .04);
}

.oc-img-box img {
    max-width: 100%;
    border-radius: 8px;
}

.oc-float {
    animation: float 4s ease-in-out infinite;
}

.oc-float img {
    max-width: 75%;
}

.oc-lectura {
    margin-top: 1.2rem;
    font-size: 20px;
    font-weight: 600;
    color: var(--azul);
}

.oc-lectura span {
    color: #e8960a;
}

.oc-badge {
    display: inline-block;
    background: #EAF3DE;
    color: #27500A;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.oc-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 12px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .grid-medidor {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   MÓDULO: CONTÁCTANOS
   ============================================================ */
.map-container-section {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 15px;
    transition: all .3s;
}

.map-container-section iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.map-container-section:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.form-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: all .3s;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.md-form input,
.md-form textarea {
    border-radius: 8px;
    transition: all .3s;
}

.md-form input:focus,
.md-form textarea:focus {
    box-shadow: 0 0 10px rgba(170, 13, 46, .3);
    border-color: var(--rojo);
}

.btn-primary {
    background: var(--azul);
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    transition: all .3s;
}

.btn-primary:hover {
    background: var(--rojo);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.alerta-exito {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all .4s;
    z-index: 9999;
}

.alerta-exito.show {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   MÓDULO: CONSULTAR CRÉDITO
   ============================================================ */
.search-credit {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 15px 3rem;
}

.header-credito {
    background: var(--azul);
    color: #fff;
    padding: 1.2rem 1.8rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 3px solid var(--rojo);
}

.portal-credito h1 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
}

.portal-credito p {
    font-size: 12px;
    color: #7fa8cc;
    margin: 0;
}

.venta {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1.5rem;
}

.search-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.2rem;
    border: 1px solid #e9ecef;
}

.section-lbl {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #dee2e6;
}

.search-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.field {
    flex: 1;
}

.field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.field input {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    background: #fff;
    color: #212529;
    outline: none;
    transition: border-color .15s;
}

.field input:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(0, 49, 73, .1);
}

.field input[readonly] {
    background: #f8f9fa;
    color: #6c757d;
}

.btn-main {
    background: var(--rojo);
    color: #fff;
    border: none;
    height: 38px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-main:hover {
    background: var(--azul);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 1.2rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: .85rem 1rem;
    border: 1px solid #e9ecef;
}

.info-card .ic-lbl {
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.info-card .ic-val {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}

.obs-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #e9ecef;
    font-size: 13px;
    color: #6c757d;
}

.obs-card .obs-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 6px;
    color: #adb5bd;
    font-weight: 600;
}

.obs-card .obs-txt {
    font-size: 13px;
    color: #212529;
    line-height: 1.5;
}

.summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 1.2rem;
}

.summary-card {
    background: #E6F1FB;
    border-radius: 8px;
    padding: .7rem .9rem;
}

.summary-card .s-lbl {
    font-size: 11px;
    color: #185FA5;
    margin-bottom: 3px;
}

.summary-card .s-val {
    font-size: 14px;
    font-weight: 600;
    color: #0C447C;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.table thead th {
    background: var(--azul);
    color: #fff;
    padding: 9px 10px;
    text-align: left;
    font-size: 11px;
    white-space: nowrap;
}

.table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.oc-table tbody tr:hover {
    background: #E6F1FB;
}

.table tbody td {
    padding: 7px 10px;
    white-space: nowrap;
}

.badge-a {
    background: #EAF3DE;
    color: #27500A;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-p {
    background: #FAEEDA;
    color: #633806;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-n {
    background: #f8f9fa;
    color: #6c757d;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 11px;
}

.alert {
    background: #FAEEDA;
    color: #633806;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    margin-bottom: 10px;
    display: none;
}

.result-section {
    display: none;
}

@media (max-width: 600px) {

    .info-grid,
    .summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-row {
        flex-direction: column;
    }

    .btn-main {
        width: 100%;
    }
}


/* ============================================================
   MÓDULO: DIAN / PANEL BODY
   ============================================================ */
.panel-body {
    border-radius: 10px;
    margin: auto;
    box-shadow: 0 6px 15px rgba(0, 49, 73, .2);
}


/* ============================================================
   MÓDULO: PQR
   ============================================================ */
.form-pqr {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    padding: 30px;
    margin-bottom: 30px;
    border-top: 5px solid var(--rojo);
}

.form-pqr h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 22px;
}

.form-group label {
    font-weight: 600;
    color: #555;
}

.text-danger {
    color: var(--rojo);
}

.btn-enviar {
    background-color: var(--rojo);
    border-color: var(--rojo);
    border-radius: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all .3s;
}

.btn-color {
    background-color: var(--rojo);
}

.btn-text {
    color: #ddd;
}

.btn-enviar:hover {
    background-color: var(--azul);
    box-shadow: 0 5px 15px rgba(0, 49, 73, .3);
}

.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--azul-md);
    box-shadow: 0 0 5px rgba(6, 101, 165, .2);
}

input[type=file] {
    padding: 5px;
    background: #f8f9fa;
}


/* ============================================================
   MÓDULO: SERVICIOS
   ============================================================ */
.img-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
    transition: transform .4s;
    width: 100%;
}

.img-card:hover {
    transform: scale(1.05);
}


/* ============================================================
   MÓDULO: VENTA / CONSULTA VENTA
   ============================================================ */
.search-venta {
    max-width: 860px;
    margin: 100px auto 60px;
    padding: 0 15px;
}

.header-venta {
    background: var(--azul);
    padding: 1.2rem 1.8rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 3px solid var(--rojo);
}

.portal-venta h1 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
}

.portal-venta p {
    font-size: 12px;
    color: #7fa8cc;
    margin: 0;
}

.content-venta {
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 2.5rem;
}

.grid-venta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 6px;
}

.form-sub {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.field-venta label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.field-venta input {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 15px;
    color: #212529;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.field-venta input:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(0, 49, 73, .1);
}

.btn-venta {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    background: var(--rojo);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .15s;
}

.btn-venta:hover {
    background: var(--azul);
}

.alert-err {
    background: #FCEBEB;
    color: #791F1F;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-top: 12px;
    display: none;
    border-left: 3px solid var(--rojo);
}

.result {
    background: #EAF3DE;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-top: 14px;
    display: none;
    border-left: 3px solid #3B6D11;
}

.result .lbl {
    font-size: 11px;
    color: #3B6D11;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 4px;
    font-weight: 600;
}

.result .val {
    font-size: 26px;
    font-weight: 700;
    color: #27500A;
}

.result .sub {
    font-size: 12px;
    color: #3B6D11;
    margin-top: 4px;
}

.img-venta {
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

.img-venta img {
    max-width: 80%;
    transition: transform .3s;
}

.img-venta img:hover {
    transform: scale(1.04);
}

@media (max-width: 640px) {
    .grid-venta {
        grid-template-columns: 1fr;
    }

    .img-venta {
        display: none;
    }
}


/* ============================================================
   MÓDULO: RECONEXIÓN
   ============================================================ */
.page-title {
    color: var(--rojo);
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    margin: 40px 0 30px;
}

.info-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid var(--rojo);
    margin-bottom: 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

.img-virtual {
    display: block;
    margin: 20px auto 0;
    max-width: 78%;
    border-radius: 10px;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 30px;
    border-top: 5px solid var(--rojo);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
}

.form-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-card .subtitle {
    font-size: 12px;
    color: #888;
    margin-bottom: 22px;
}

.form-card .subtitle span {
    color: var(--rojo);
}

.form-group label {
    font-weight: 600;
    font-size: 13px;
    color: #444;
    margin-bottom: 4px;
    display: block;
}

.form-group label .req {
    color: var(--rojo);
}

.file-zone {
    background: #f5f8fc;
    border: 1.5px dashed #b0bec5;
    border-radius: 8px;
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color .18s, background .18s;
}

.file-zone:hover {
    border-color: var(--azul-md);
    background: #eef4fb;
}

.file-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-zone .file-label-main {
    font-size: 13px;
    color: #555;
    margin-bottom: 3px;
}

.file-zone .file-label-main strong {
    color: var(--azul-md);
}

.file-zone small {
    font-size: 11px;
    color: #999;
}

.file-zone .file-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.btn-enviar {
    background: linear-gradient(135deg, var(--rojo) 0%, #d4143a 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 0;
    width: 100%;
    letter-spacing: .04em;
    transition: opacity .18s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-enviar:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #fff;
}


/* ============================================================
   ANIMACIÓN FLOTANTE (compartida)
   ============================================================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}