/* ====== Plataforma Virtual Fiscal - estilos propios (sin depender de Tailwind) ====== */
body.pvf {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    color: #0F2850;
    background: linear-gradient(180deg, #F6F9FD 0%, #E8EEF6 100%);
    background-attachment: fixed;
}

.pvf *,
.pvf *::before,
.pvf *::after {
    box-sizing: border-box;
}

.pvf-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.pvf-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Header */
.pvf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #0F2850;
    border-bottom: 3px solid #E8A912;
}

.pvf-header__in {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 64px);
    height: 88px;
    display: flex;
    align-items: center;
}

.pvf-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    text-decoration: none;
}

.pvf-logo1 {
    height: 60px;
    width: auto;
    max-width: 290px;
    object-fit: contain;
    display: block;
}

.pvf-logo2 {
    height: 54px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

.pvf-logos__sep {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, .3);
}

/* Layout */
.pvf-main {
    position: relative;
    z-index: 10;
}

.pvf-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 64px);
}

/* Hero */
.pvf-hero {
    position: relative;
    padding: 24px 0 32px;
}

.pvf-side {
    display: none;
    position: absolute;
    left: 0;
    top: 64px;
}

.pvf-side__text {
    margin: 0;
    padding-right: 28px;
    border-right: 1px solid #C6CFDC;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.25;
    color: #324A6C;
}

.pvf-side__text span {
    display: block;
    white-space: nowrap;
}

.pvf-side__bar {
    margin-top: 16px;
    width: 94px;
    height: 4px;
    border-radius: 999px;
    background: #E8A912;
}

.pvf-center {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pvf-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.pvf-kicker i {
    display: block;
    width: 110px;
    height: 1px;
    background: #2A5C94;
}

.pvf-kicker span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: #1F5496;
    padding-left: .4em;
}

.pvf-title {
    margin: 8px 0 0;
    font-size: clamp(32px, 4.4vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #0F2850;
}

.pvf-sub {
    margin: 8px 0 0;
    font-size: clamp(15px, 1.45vw, 24px);
    font-weight: 500;
    color: #263D4F;
}

.pvf-search {
    display: flex;
    align-items: center;
    max-width: 860px;
    margin: 24px auto 0;
    padding: 6px;
    background: #fff;
    border: 1px solid #E3E9F2;
    border-radius: 999px;
    box-shadow: 0 8px 28px -8px rgba(15, 40, 80, .22);
    transition: border-color .2s, box-shadow .2s;
}

.pvf-search:focus-within {
    border-color: #2A5C94;
    box-shadow: 0 0 0 3px rgba(42, 92, 148, .15), 0 8px 28px -8px rgba(15, 40, 80, .22);
}

.pvf-search__ico {
    display: inline-flex;
    padding-left: 20px;
    color: #0F2850;
}

.pvf-search__ico svg {
    width: 24px;
    height: 24px;
}

.pvf-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 16px;
    font: inherit;
    font-size: 19px;
    color: #0F2850;
    -webkit-appearance: none;
    appearance: none;
}

.pvf-search input::placeholder {
    color: #6B7790;
}

.pvf-search button {
    height: 52px;
    padding: 0 36px;
    border: 0;
    border-radius: 12px;
    background: #0F2850;
    color: #fff;
    font-family: inherit;
    font-size: 21px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.pvf-search button:hover {
    background: #1A3D6F;
}

.pvf-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.pvf-tag i {
    display: block;
    width: 80px;
    height: 1px;
    background: #C6CFDC;
}

.pvf-tag p {
    margin: 0;
    font-size: 18px;
    font-style: italic;
    color: #3A4860;
}

/* Tarjetas */
.pvf-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
    padding-bottom: 40px;
}

.pvf-card {
    --c: #14509A;
    --c2: #2F6DB8;
    --t: #0F2850;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 40px -14px rgba(15, 40, 80, .28);
    transition: transform .3s, box-shadow .3s;
}

.pvf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -14px rgba(15, 40, 80, .34);
}

.pvf-card--purple {
    --c: #5B2D9A;
    --c2: #8A4FC4;
    --t: #2E1A6B;
}

.pvf-card--green {
    --c: #1B7A4B;
    --c2: #2E9E6A;
    --t: #0F2850;
}

.pvf-card__top {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.pvf-card__img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 180px;
    background: var(--c);
    overflow: hidden;
}

.pvf-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pvf-card__img::before,
.pvf-card__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--c2), var(--c));
}

.pvf-card__img::before {
    opacity: .75;
    mix-blend-mode: multiply;
}

.pvf-card__img::after {
    opacity: .3;
}

.pvf-card__curve {
    position: absolute;
    left: -15%;
    top: 138px;
    width: 130%;
    height: 200px;
    border-radius: 50%;
    background: #fff;
}

.pvf-card__icon {
    position: absolute;
    left: 50%;
    top: 50px;
    z-index: 2;
    width: 112px;
    height: 112px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--c);
    color: #fff;
    box-shadow: 0 0 0 5px #fff, 0 8px 20px -6px rgba(15, 40, 80, .4);
}

.pvf-card__icon svg {
    width: 52px;
    height: 52px;
}

.pvf-card__body {
    position: relative;
    padding: 4px 28px 32px;
    text-align: center;
}

.pvf-card__title {
    margin: 0;
    font-size: clamp(26px, 2.2vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--t);
}

.pvf-card__line {
    width: 56px;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: var(--c);
}

.pvf-card__desc {
    max-width: 340px;
    min-height: 56px;
    margin: 16px auto 0;
    font-size: 17px;
    line-height: 1.35;
    color: #2D3A4F;
}

.pvf-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 40px;
    border-radius: 999px;
    background: var(--c);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: filter .2s;
}

.pvf-card__btn:hover {
    filter: brightness(.88);
}

.pvf-card__btn svg {
    width: 20px;
    height: 20px;
    transition: transform .2s;
}

.pvf-card:hover .pvf-card__btn svg {
    transform: translateX(4px);
}

.pvf-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Responsive */
@media (min-width: 1180px) {
    .pvf-side {
        display: block;
    }
}

@media (max-width: 1023px) {
    .pvf-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pvf-card {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .pvf-header__in {
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .pvf-logos {
        gap: 14px;
    }

    .pvf-logo1 {
        height: 42px;
        max-width: 190px;
    }

    .pvf-logo2 {
        height: 36px;
        max-width: 170px;
    }

    .pvf-logos__sep {
        height: 34px;
    }

    .pvf-hero {
        padding: 36px 0 32px;
    }

    .pvf-kicker {
        gap: 14px;
    }

    .pvf-kicker i {
        width: 36px;
    }

    .pvf-kicker span {
        font-size: 12px;
    }

    .pvf-search input {
        font-size: 15px;
        padding: 0 10px;
    }

    .pvf-search__ico {
        padding-left: 14px;
    }

    .pvf-search button {
        height: 44px;
        padding: 0 20px;
        font-size: 16px;
    }

    .pvf-tag i {
        display: none;
    }

    .pvf-tag p {
        font-size: 14px;
    }
}