/* =====================================================
       ROOT
    ===================================================== */

    .p3-footer {

        --p3f-dark:
            #0b1318;

        --p3f-white:
            #fffaf3;

        --p3f-muted:
            rgba(255,255,255,.64);

        --p3f-gold:
            #c18d53;

        --p3f-gold-light:
            #d9af7f;

        --p3f-line:
            rgba(255,255,255,.14);


        --p3f-serif:
            Georgia,
            "Times New Roman",
            serif;


        --p3f-sans:
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;


        position:
            relative;

        isolation:
            isolate;


        width:
            100%;


        overflow:
            hidden;


        color:
            var(--p3f-white);


        background:
            var(--p3f-dark);


        font-family:
            var(--p3f-sans);
    }



    /* =====================================================
       BACKGROUND
    ===================================================== */

    .p3-footer__background {

        position:
            absolute;

        inset:
            0;


        z-index:
            -5;


        margin:
            0;
    }


    .p3-footer__background img {

        display:
            block;


        width:
            100%;

        height:
            100%;


        object-fit:
            cover;


        object-position:
            center center;
    }



    /* =====================================================
       DARK CINEMATIC OVERLAY
    ===================================================== */

    .p3-footer::before {

        content:
            "";


        position:
            absolute;

        inset:
            0;


        z-index:
            -4;


        background:

            linear-gradient(
                90deg,
                rgba(5,11,15,.97) 0%,
                rgba(5,11,15,.91) 34%,
                rgba(5,11,15,.76) 67%,
                rgba(5,11,15,.63) 100%
            ),

            linear-gradient(
                180deg,
                rgba(5,11,15,.20) 0%,
                rgba(5,11,15,.52) 52%,
                rgba(5,11,15,.97) 100%
            );


        pointer-events:
            none;
    }


    .p3-footer::after {

        content:
            "";


        position:
            absolute;

        inset:
            0;


        z-index:
            -3;


        background:

            radial-gradient(
                circle at 75% 12%,
                rgba(207,149,88,.14),
                transparent 33%
            );


        pointer-events:
            none;
    }



    /* =====================================================
       INNER CONTAINER
    ===================================================== */

    .p3-footer__inner {

        width:

            min(
                1400px,
                calc(100% - 64px)
            );


        margin-inline:
            auto;
    }



    /* =====================================================
       MAIN GRID
    ===================================================== */

    .p3-footer__main {

        display:
            grid;


        grid-template-columns:

            minmax(360px,1.48fr)

            minmax(145px,.55fr)

            minmax(220px,.82fr)

            minmax(275px,.94fr);


        gap:

            clamp(
                36px,
                4vw,
                72px
            );


        padding:

            clamp(
                80px,
                7vw,
                115px
            )

            0

            clamp(
                56px,
                5.5vw,
                84px
            );
    }



    /* =====================================================
       BRAND COLUMN
    ===================================================== */

    .p3-footer__brand {

        max-width:
            510px;
    }



    /* =====================================================
       LARGE PREMIUM LOGO PLATE
    ===================================================== */

    .p3-footer__logo {

        display:
            inline-flex;


        align-items:
            center;

        justify-content:
            center;


        width:
            270px;


        min-height:
            108px;


        margin-bottom:
            32px;


        padding:

            8px
            12px;


        border:

            1px
            solid
            rgba(255,255,255,.42);


        border-radius:
            20px;


        background:

            linear-gradient(
                145deg,
                rgba(255,250,242,.98),
                rgba(239,225,207,.93)
            );


        box-shadow:

            0
            22px
            50px
            rgba(0,0,0,.24),

            inset
            0
            1px
            0
            rgba(255,255,255,.90);


        backdrop-filter:
            blur(12px);

        -webkit-backdrop-filter:
            blur(12px);


        text-decoration:
            none;


        transition:

            transform
            .25s
            ease,

            box-shadow
            .25s
            ease;
    }


    .p3-footer__logo:hover {

        transform:
            translateY(-3px);


        box-shadow:

            0
            30px
            62px
            rgba(0,0,0,.30),

            inset
            0
            1px
            0
            rgba(255,255,255,.96);
    }


    .p3-footer__logo img {

        display:
            block;


        width:
            100%;


        max-width:
            250px;


        height:
            auto;


        object-fit:
            contain;
    }



    /* =====================================================
       HEADLINE
    ===================================================== */

    .p3-footer__headline {

        max-width:
            520px;


        margin:
            0;


        color:
            #fff;


        font-family:
            var(--p3f-serif);


        font-size:

            clamp(
                42px,
                3.8vw,
                62px
            );


        font-weight:
            400;


        line-height:
            .98;


        letter-spacing:
            -.04em;
    }


    .p3-footer__headline em {

        color:
            var(--p3f-gold-light);


        font-weight:
            400;
    }



    /* =====================================================
       DESCRIPTION
    ===================================================== */

    .p3-footer__copy {

        max-width:
            475px;


        margin:

            20px
            0
            0;


        color:
            var(--p3f-muted);


        font-size:
            13px;


        line-height:
            1.72;
    }



    /* =====================================================
       BRAND ACTIONS
    ===================================================== */

    .p3-footer__brand-actions {

        display:
            flex;


        flex-wrap:
            wrap;


        gap:
            10px;


        margin-top:
            28px;
    }



    /* Primary CTA */

    .p3-footer__primary {

        display:
            inline-flex;


        align-items:
            center;

        justify-content:
            center;


        gap:
            15px;


        min-height:
            54px;


        padding:
            0 25px;


        border-radius:
            16px;


        background:

            linear-gradient(
                135deg,
                #d1a16c,
                #a87440
            );


        color:
            #11191e;


        text-decoration:
            none;


        font-family:
            var(--p3f-serif);


        font-size:
            16px;


        box-shadow:

            0
            14px
            31px
            rgba(0,0,0,.20);


        transition:

            transform
            .2s
            ease,

            box-shadow
            .2s
            ease;
    }


    .p3-footer__primary:hover {

        color:
            #11191e;


        transform:
            translateY(-2px);


        box-shadow:

            0
            21px
            42px
            rgba(0,0,0,.30);
    }



    /* WhatsApp */

    .p3-footer__whatsapp {

        display:
            inline-flex;


        align-items:
            center;

        justify-content:
            center;


        min-height:
            54px;


        padding:
            0 20px;


        border:

            1px
            solid
            rgba(255,255,255,.24);


        border-radius:
            16px;


        background:
            rgba(255,255,255,.045);


        color:
            #fff;


        text-decoration:
            none;


        font-size: 11px;


        backdrop-filter:
            blur(8px);

        -webkit-backdrop-filter:
            blur(8px);


        transition:

            background
            .2s
            ease,

            border-color
            .2s
            ease;
    }


    .p3-footer__whatsapp:hover {

        color:
            #fff;


        background:
            rgba(255,255,255,.09);


        border-color:
            rgba(255,255,255,.40);
    }



    /* =====================================================
       COLUMN TITLES
    ===================================================== */

    .p3-footer__column-title {

        margin:

            8px
            0
            23px;


        color:
            #e4ba8a;


        font-size: 11px;


        font-weight:
            700;


        letter-spacing:
            .24em;


        text-transform:
            uppercase;
    }



    /* =====================================================
       QUICK LINKS
    ===================================================== */

    .p3-footer__links {

        margin:
            0;


        padding:
            0;


        list-style:
            none;
    }


    .p3-footer__links li {

        margin:
            0 0 12px;
    }


    .p3-footer__links a {

        display:
            inline-flex;


        align-items:
            center;


        color:
            rgba(255,255,255,.73);


        text-decoration:
            none;


        font-family:
            var(--p3f-serif);


        font-size:
            15px;


        transition:

            color
            .2s
            ease,

            transform
            .2s
            ease;
    }


    .p3-footer__links a:hover {

        color:
            #fff;


        transform:
            translateX(4px);
    }



    /* =====================================================
       CONTACT
    ===================================================== */

    .p3-footer__contact {

        margin:
            0;


        padding:
            0;


        list-style:
            none;
    }


    .p3-footer__contact li {

        display:
            flex;


        align-items:
            flex-start;


        gap:
            12px;


        margin-bottom:
            18px;
    }


    .p3-footer__contact-icon {

        width:
            32px;


        height:
            32px;


        flex:
            0 0 32px;


        display:
            grid;


        place-items:
            center;


        border:

            1px
            solid
            rgba(210,164,112,.27);


        border-radius:
            10px;


        background:
            rgba(255,255,255,.035);


        color:
            var(--p3f-gold-light);
    }


    .p3-footer__contact-icon svg {

        width:
            14px;


        height:
            14px;
    }


    .p3-footer__contact a,
    .p3-footer__contact span {

        color:
            rgba(255,255,255,.70);


        text-decoration:
            none;


        font-size:
            11px;


        line-height:
            1.55;
    }


    .p3-footer__contact a:hover {

        color:
            #fff;
    }



    /* =====================================================
       PLAN COLUMN
    ===================================================== */

    .p3-footer__plan-copy {

        max-width:
            300px;


        margin:
            0;


        color:
            rgba(255,255,255,.67);


        font-family:
            var(--p3f-serif);


        font-size:
            16px;


        line-height:
            1.47;
    }



    /* Customize pill */

    .p3-footer__plan-link {

        display:
            flex;


        justify-content:
            space-between;

        align-items:
            center;


        gap:
            15px;


        min-height:
            58px;


        margin-top:
            22px;


        padding:

            0
            9px
            0
            20px;


        border:

            1px
            solid
            rgba(255,255,255,.27);


        border-radius:
            999px;


        background:
            rgba(7,13,17,.29);


        color:
            #fff;


        text-decoration:
            none;


        font-family:
            var(--p3f-serif);


        font-size:
            15px;


        backdrop-filter:
            blur(8px);

        -webkit-backdrop-filter:
            blur(8px);
    }


    .p3-footer__plan-link:hover {

        color:
            #fff;
    }


    .p3-footer__plan-arrow {

        width:
            41px;


        height:
            41px;


        flex:
            0 0 41px;


        display:
            grid;


        place-items:
            center;


        border-radius:
            50%;


        background:
            var(--p3f-gold);


        color:
            #11191e;


        transition:
            transform .2s ease;
    }


    .p3-footer__plan-link:hover
    .p3-footer__plan-arrow {

        transform:
            translateX(3px);
    }



    /* =====================================================
       SOCIAL
    ===================================================== */

    .p3-footer__social-title {

        display:
            block;


        margin-top:
            29px;


        margin-bottom:
            13px;


        color:
            rgba(255,255,255,.48);


        font-size: 11px;


        font-weight:
            700;


        letter-spacing:
            .20em;


        text-transform:
            uppercase;
    }


    .p3-footer__socials {

        display:
            flex;


        flex-wrap:
            wrap;


        gap:
            8px;
    }


    .p3-footer__social {

        width:
            40px;


        height:
            40px;


        display:
            grid;


        place-items:
            center;


        border:

            1px
            solid
            rgba(255,255,255,.16);


        border-radius:
            50%;


        background:
            rgba(255,255,255,.035);


        color:
            #fff;


        text-decoration:
            none;


        transition:

            border-color
            .2s
            ease,

            background
            .2s
            ease,

            transform
            .2s
            ease;
    }


    .p3-footer__social:hover {

        color:
            #fff;


        border-color:
            rgba(209,164,112,.62);


        background:
            rgba(193,141,83,.15);


        transform:
            translateY(-3px);
    }


    .p3-footer__social svg {

        width:
            17px;


        height:
            17px;
    }



    /* =====================================================
       DIVIDER
    ===================================================== */

    .p3-footer__divider {

        width:
            100%;


        height:
            1px;


        background:

            linear-gradient(
                90deg,
                transparent,
                rgba(208,163,111,.42) 12%,
                rgba(255,255,255,.14) 50%,
                rgba(208,163,111,.42) 88%,
                transparent
            );
    }



    /* =====================================================
       BOTTOM BAR
    ===================================================== */

    .p3-footer__bottom {

        display:
            grid;


        grid-template-columns:

            minmax(320px,1.35fr)

            auto

            1fr;


        align-items:
            center;


        gap:
            30px;


        min-height:
            88px;
    }



    /* =====================================================
       COPYRIGHT
    ===================================================== */

    .p3-footer__copyright {

        display:
            flex;


        align-items:
            center;


        flex-wrap:
            wrap;


        gap:
            7px;


        color:
            rgba(255,255,255,.48);


        font-size: 11px;


        line-height:
            1.6;
    }



    /* =====================================================
       DEVELOPER CREDIT
    ===================================================== */

    .p3-footer__developer {

        display:
            inline-flex;


        align-items:
            center;


        gap:
            5px;


        color:
            rgba(255,255,255,.48);
    }


    .p3-footer__developer::before {

        content:
            "";


        width:
            3px;


        height:
            3px;


        margin-inline:

            3px
            5px;


        border-radius:
            50%;


        background:
            rgba(210,164,112,.72);
    }


    .p3-footer__developer a {

        position:
            relative;


        color:
            #d2a470;


        text-decoration:
            none;


        font-weight:
            600;


        transition:
            color .2s ease;
    }


    .p3-footer__developer a::after {

        content:
            "";


        position:
            absolute;


        left:
            0;


        right:
            100%;


        bottom:
            -3px;


        height:
            1px;


        background:
            #d2a470;


        transition:
            right .25s ease;
    }


    .p3-footer__developer a:hover {

        color:
            #f1c899;
    }


    .p3-footer__developer a:hover::after {

        right:
            0;
    }



    /* =====================================================
       LEGAL
    ===================================================== */

    .p3-footer__legal {

        display:
            flex;


        align-items:
            center;


        justify-content:
            center;


        gap:
            16px;
    }


    .p3-footer__legal a {

        color:
            rgba(255,255,255,.48);


        text-decoration:
            none;


        font-size: 11px;


        transition:
            color .2s ease;
    }


    .p3-footer__legal a:hover {

        color:
            #fff;
    }


    .p3-footer__legal-separator {

        width:
            1px;


        height:
            13px;


        background:
            rgba(255,255,255,.18);
    }



    /* =====================================================
       SIGNATURE
    ===================================================== */

    .p3-footer__signature {

        justify-self:
            end;


        color:
            #c79258;


        font-family:
            var(--p3f-serif);


        font-size:
            18px;


        font-style:
            italic;


        text-align:
            right;


        transform:
            rotate(-2deg);
    }


    .p3-footer__signature small {

        display:
            block;


        margin-top:
            3px;


        color:
            rgba(218,171,119,.65);


        font-family:
            var(--p3f-sans);


        font-size: 11px;


        font-style:
            normal;


        letter-spacing:
            .17em;


        text-transform:
            uppercase;
    }



    /* =====================================================
       BACK TO TOP
    ===================================================== */

    .p3-footer__top {

        position:
            absolute;


        top:
            25px;


        right:
            30px;


        z-index:
            5;


        width:
            55px;


        height:
            55px;


        display:
            grid;


        place-items:
            center;


        padding:
            0;


        border:

            1px
            solid
            rgba(255,255,255,.20);


        border-radius:
            50%;


        background:
            rgba(8,14,18,.45);


        cursor:
            pointer;


        backdrop-filter:
            blur(9px);

        -webkit-backdrop-filter:
            blur(9px);


        transition:

            background
            .2s
            ease,

            transform
            .2s
            ease,

            border-color
            .2s
            ease;
    }


    .p3-footer__top:hover {

        background:
            rgba(193,141,83,.23);


        border-color:
            rgba(215,169,116,.48);


        transform:
            translateY(-3px);
    }


    .p3-footer__top img {

        display:
            block;


        width:
            30px;


        height:
            30px;


        object-fit:
            contain;
    }



    /* =====================================================
       TABLET
    ===================================================== */

    @media (max-width: 1100px) {

        .p3-footer__inner {

            width:
                calc(100% - 40px);
        }


        .p3-footer__main {

            grid-template-columns:

                minmax(300px,1.3fr)

                minmax(140px,.6fr)

                minmax(220px,.9fr);


            gap:
                40px;
        }


        .p3-footer__plan {

            grid-column:
                1 / -1;


            display:
                grid;


            grid-template-columns:
                1fr
                1fr;


            align-items:
                end;


            gap:
                32px;


            padding-top:
                32px;


            border-top:

                1px
                solid
                rgba(255,255,255,.10);
        }


        .p3-footer__plan
        .p3-footer__column-title {

            grid-column:
                1 / -1;


            margin-bottom:
                0;
        }


        .p3-footer__social-title {

            margin-top:
                0;
        }


        .p3-footer__bottom {

            grid-template-columns:
                1fr
                auto;
        }


        .p3-footer__signature {

            display:
                none;
        }
    }



    /* =====================================================
       MOBILE
    ===================================================== */

    @media (max-width: 767px) {

        .p3-footer__background img {

            object-position:
                60% center;
        }


        .p3-footer::before {

            background:

                linear-gradient(
                    180deg,
                    rgba(5,11,15,.72) 0%,
                    rgba(5,11,15,.91) 45%,
                    rgba(5,11,15,.99) 100%
                );
        }


        .p3-footer__inner {

            width:
                calc(100% - 28px);
        }


        .p3-footer__main {

            grid-template-columns:
                1fr;


            gap:
                42px;


            padding:

                76px
                0
                56px;
        }



        /* LOGO */

        .p3-footer__logo {

            width:
                235px;


            min-height:
                96px;


            padding:

                7px
                10px;


            border-radius:
                18px;
        }


        .p3-footer__logo img {

            max-width:
                215px;
        }



        /* Heading */

        .p3-footer__headline {

            max-width:
                520px;


            font-size:

                clamp(
                    42px,
                    12vw,
                    58px
                );
        }


        .p3-footer__copy {

            font-size:
                12.5px;
        }



        /* Buttons */

        .p3-footer__brand-actions {

            display:
                grid;


            grid-template-columns:
                1fr;
        }


        .p3-footer__primary,
        .p3-footer__whatsapp {

            width:
                100%;
        }



        /* Plan */

        .p3-footer__plan {

            grid-column:
                auto;


            display:
                block;


            padding-top:
                35px;


            border-top:

                1px
                solid
                rgba(255,255,255,.10);
        }


        .p3-footer__plan
        .p3-footer__column-title {

            margin-bottom:
                20px;
        }


        .p3-footer__social-title {

            margin-top:
                29px;
        }



        /* Bottom */

        .p3-footer__bottom {

            grid-template-columns:
                1fr;


            gap:
                18px;


            padding:

                27px
                0
                32px;


            text-align:
                center;
        }


        .p3-footer__copyright {

            justify-content:
                center;
        }


        .p3-footer__developer {

            justify-content:
                center;
        }


        .p3-footer__legal {

            justify-content:
                center;
        }


        .p3-footer__signature {

            display:
                block;


            justify-self:
                center;


            text-align:
                center;


            margin-top:
                4px;
        }



        /* Top button */

        .p3-footer__top {

            top:
                18px;


            right:
                17px;


            width:
                48px;


            height:
                48px;
        }


        .p3-footer__top img {

            width:
                27px;


            height:
                27px;
        }
    }



    /* =====================================================
       SMALL MOBILE
    ===================================================== */

    @media (max-width: 390px) {

        .p3-footer__logo {

            width:
                215px;
        }


        .p3-footer__logo img {

            max-width:
                197px;
        }


        .p3-footer__plan-link {

            font-size:
                14px;
        }
    }



    /* =====================================================
       ACCESSIBILITY
    ===================================================== */

    .p3-footer a:focus-visible,
    .p3-footer button:focus-visible {

        outline:

            2px
            solid
            var(--p3f-gold-light);


        outline-offset:
            4px;
    }



    /* =====================================================
       REDUCED MOTION
    ===================================================== */

    @media (prefers-reduced-motion: reduce) {

        .p3-footer *,
        .p3-footer *::before,
        .p3-footer *::after {

            transition:
                none !important;
        }
    }
