
.planx-page,
.planx-page * {
    box-sizing: border-box;
}

.planx-page {
    --wine: #8d2531;
    --wine-dark: #721b26;

    --blue: #52788f;
    --blue-dark: #315267;

    --text: #536a78;

    --cream: #f8f3ed;

    --rose-soft: #f5e4e2;
    --blue-soft: #edf4f7;
    --green-soft: #edf1e5;

    width: 100%;
    min-height: 100vh;

    margin: 0;

    padding:
        38px
        max(24px, calc((100vw - 1240px) / 2))
        78px;

    background:
        radial-gradient(
            circle at 7% 4%,
            rgba(141,37,49,.035),
            transparent 27%
        ),
        radial-gradient(
            circle at 95% 16%,
            rgba(82,120,143,.04),
            transparent 26%
        ),
        var(--cream);

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

.planx-svg {
    position: absolute;

    width: 0;
    height: 0;

    overflow: hidden;
}

.planx-page svg {
    display: block;
}


/* ========================================
   HERO
   ======================================== */

.planx-hero {
    max-width: 1180px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 55px;

    align-items: center;

    margin:
        0 auto
        34px;

    padding:
        10px
        7px
        24px;
}

.planx-kicker,
.planx-label {
    color: #b57973;

    font-size: 11px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: .17em;
    text-transform: uppercase;
}

.planx-kicker {
    margin-bottom: 8px;
}

.planx-hero h1 {
    max-width: 820px;

    margin:
        0 0
        13px;

    color: var(--wine-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            40px,
            4.4vw,
            60px
        );

    line-height: 1.04;

    letter-spacing: -.025em;
}

.planx-lead {
    max-width: 760px;

    margin:
        0 0
        25px;

    color: #5e7887;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;
    line-height: 1.48;
}


/* BENEFITS */

.planx-benefits {
    display: flex;
    flex-wrap: wrap;

    gap: 22px;
}

.planx-benefit {
    display: flex;
    align-items: center;

    gap: 10px;
}

.planx-benefit-icon {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    border-radius: 50%;
}

.planx-benefit-icon svg {
    width: 22px;
    height: 22px;

    fill: currentColor;
}

.planx-benefit-icon.blue {
    color: var(--blue);

    background: var(--blue-soft);
}

.planx-benefit-icon.rose {
    color: #a34a53;

    background: var(--rose-soft);
}

.planx-benefit-icon.green {
    color: #637947;

    background: var(--green-soft);
}

.planx-benefit strong {
    display: block;

    margin-bottom: 2px;

    color: #3b5667;

    font-size: 13px;
}

.planx-benefit small {
    display: block;

    color: #8697a0;

    font-size: 11px;
}


/* HERO ART */

.planx-hero-art {
    text-align: center;
}

.planx-script {
    color: #58798d;

    font-family:
        "Brush Script MT",
        "Segoe Script",
        cursive;

    font-size: 43px;
    line-height: .96;

    transform: rotate(-6deg);
}

.planx-script span {
    font-size: 35px;
}

.planx-art-words {
    margin-top: 25px;

    color: #b9827d;

    font-size: 11px;
    line-height: 1.9;

    letter-spacing: .22em;
}


/* ========================================
   CONTENT SHELL
   ======================================== */

.planx-content-panel {
    max-width: none;margin:
        0 auto 24px;

    padding:
        26px 20px 30px;

    border:
        1px solid
        rgba(124,77,52,.09);

    border-radius: 22px;

    background:
        rgba(255,253,250,.97);

    box-shadow:
        0 11px 34px
            rgba(75,51,36,.055),
        0 2px 6px
            rgba(75,51,36,.025);
}

.planx-panel-top {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 25px;
}

.planx-panel-icon {
    flex: 0 0 57px;

    width: 57px;
    height: 57px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--wine);

    background:
        linear-gradient(
            145deg,
            #f2d8d6,
            #f8eae7
        );
}

.planx-panel-icon svg {
    width: 26px;
    height: 26px;

    fill: currentColor;
}

.planx-label {
    margin-bottom: 5px;
}

.planx-panel-top h2 {
    margin: 0;

    color: var(--wine-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            29px,
            2.7vw,
            38px
        );

    line-height: 1.13;
}


/*
 * SVARĪGI:
 *
 * Zemāk mēs NEDEFINĒJAM:
 * table
 * tr
 * th
 * td
 *
 * Tātad tabulas vizuāli netiek aiztiktas.
 */

.planx-original-content {
    width: 100%;
}


/*
 * Tikai ārējā satura atstarpes.
 * Tabulas selektoru te nav.
 */

.planx-original-content > :first-child {
    margin-top: 0;
}

.planx-original-content > :last-child {
    margin-bottom: 0;
}


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

.planx-contact {
    max-width: none;

    display: grid;

    grid-template-columns:
        64px
        minmax(0,1fr)
        auto;

    gap: 20px;

    align-items: center;

    margin: 0 auto;

    padding:
        26px
        30px;

    border:
        1px solid
        #e8ddd3;

    border-radius: 21px;

    background:
        linear-gradient(
            120deg,
            #f0e6dc,
            #f8f2eb
        );
}

.planx-contact-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--wine);

    background: #fff8f2;
}

.planx-contact-icon svg {
    width: 27px;
    height: 27px;

    fill: currentColor;
}

.planx-contact h2 {
    margin:
        4px 0
        5px;

    color: var(--wine-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 29px;
}

.planx-contact p {
    margin: 0;

    color: var(--text);

    font-size: 14px;
}

.planx-contact-button {
    display: inline-block;

    padding:
        10px
        18px;

    border-radius: 999px;

    background: var(--wine);

    color: #fff !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


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

@media (max-width: 1000px) {

    .planx-page {
        padding-left: 22px;
        padding-right: 22px;
    }

    .planx-hero {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .planx-hero-art {
        display: none;
    }

}


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

@media (max-width: 760px) {

    .planx-contact {
        grid-template-columns:
            58px
            minmax(0,1fr);
    }

    .planx-contact-button {
        grid-column: 2;

        width: fit-content;
    }

}


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

@media (max-width: 620px) {

    .planx-page {
        padding:
            24px
            14px
            52px;
    }

    .planx-hero {
        margin-bottom: 18px;

        padding: 2px;
    }

    .planx-hero h1 {
        font-size: 35px;
    }

    .planx-lead {
        font-size: 17px;
    }

    .planx-benefits {
        display: grid;

        grid-template-columns:
            1fr
            1fr;

        gap:
            13px
            8px;
    }

    .planx-benefit-icon {
        width: 42px;
        height: 42px;
    }

    .planx-benefit-icon svg {
        width: 19px;
        height: 19px;
    }

    .planx-content-panel {
        padding:
            18px
            15px
            23px;

        border-radius: 17px;
    }

    .planx-panel-top {
        align-items: flex-start;

        gap: 12px;
    }

    .planx-panel-icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;
    }

    .planx-panel-icon svg {
        width: 22px;
        height: 22px;
    }

    .planx-panel-top h2 {
        font-size: 26px;
    }

    .planx-contact {
        display: block;

        padding:
            20px
            17px;
    }

    .planx-contact-icon {
        margin-bottom: 13px;
    }

    .planx-contact-button {
        margin-top: 16px;
    }

}

/* PLANX WIDE TABLE PANEL */
@media (min-width: 1500px) {

    .planx-content-panel {
        margin-left: -90px;
        margin-right: -90px;
    }

}

/* PLANX WIDE TABLE PANEL */
@media (min-width: 1500px) {

    .planx-content-panel {
        margin-left: -90px;
        margin-right: -90px;
    }

}
