.glow-up-width {
    max-width: 1206px;
}

.glow-up-card {
    --glow-ink: #241b10;
    --glow-gold: #9a712d;
    --glow-border: #e6d6b7;
    color: var(--glow-ink);
    font-family: 'Jost', sans-serif;
    border-radius: 8px;
    box-shadow: 0 14px 44px rgba(41, 31, 17, .08);
}

.glow-up-card > .block-content {
    padding: 30px;
}

.glow-up-hero {
    position: relative;
    padding: 22px clamp(14px, 4vw, 40px) 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    border-radius: 20px;
    background-color: #e9d8bd;
    overflow: hidden;
}

.glow-up-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

.glow-up-hero > :not(.glow-up-hero-image) {
    position: relative;
}

.glow-up-hero-tag {
    padding: 9px 20px;
    border: 1px solid #c79a4f;
    border-radius: 999px;
    background: rgba(255, 250, 239, .88);
    box-shadow: 0 4px 24px rgba(82, 58, 20, .12);
    color: #48351b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .24em;
    text-align: center;
}

.glow-up-hero-panel {
    width: min(100%, 560px);
    padding: 26px 32px;
    border: 1.5px solid transparent;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 253, 248, .88), rgba(255, 247, 232, .76)) padding-box,
        linear-gradient(135deg, #fff3cf, #c9993f 28%, #fff8e0 50%, #b8862f 74%, #f7e2a8) border-box;
    box-shadow: 0 0 26px rgba(255, 210, 130, .45), 0 24px 50px rgba(120, 85, 30, .16);
    text-align: center;
    backdrop-filter: blur(14px);
}

.glow-up-seal {
    position: relative;
    width: 58px;
    height: 58px;
    margin: 0 auto 8px;
    color: #5a431c;
}

.glow-up-seal-ring,
.glow-up-seal-leaf {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.glow-up-seal-ring text {
    fill: currentColor;
    font-size: 12.5px;
    font-weight: 600;
}

.glow-up-seal-leaf {
    inset: 32% auto auto 35%;
    width: 30%;
    height: 36%;
    fill: currentColor;
}

.glow-up-card .glow-up-hero h1 {
    margin: 0;
    color: var(--glow-ink);
    font-family: 'Jost', sans-serif;
    font-size: clamp(30px, 6vw, 50px);
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.2;
}

.glow-up-rule {
    display: block;
    width: 110px;
    height: 1px;
    margin: 16px auto;
    background: linear-gradient(90deg, transparent, #b8862f, transparent);
}

.glow-up-hero-panel p {
    margin: 0;
    font-family: 'Libre Caslon Text', serif;
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 700;
    line-height: 1.35;
}

.glow-up-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: 40px;
    align-items: start;
    padding: 34px 20px;
}

.glow-up-description {
    font-size: 19px;
    line-height: 1.6;
}

.glow-up-description > :last-child {
    margin-bottom: 0;
}

.glow-up-facts {
    display: grid;
    gap: 12px;
    padding: 22px 26px;
    border: 1px solid var(--glow-border);
    border-radius: 16px;
    background: #faf6ee;
}

.glow-up-facts > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 15px;
    align-items: baseline;
}

.glow-up-facts span {
    color: var(--glow-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
}

.glow-up-facts strong {
    font-size: 16px;
    font-weight: 500;
}

.glow-up-card .glow-up-form-card {
    margin-bottom: 0;
    border: 1.5px solid transparent;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdf8, #fbf6ec) padding-box,
        linear-gradient(135deg, #f3e3b8, #c9993f 30%, #fff6d8 52%, #b8862f 76%, #f1dca0) border-box;
    box-shadow: 0 12px 36px rgba(93, 66, 27, .06);
}

.glow-up-form-card > .block-content {
    padding: 22px clamp(20px, 4vw, 44px);
}

.glow-up-form-card > .block-content:first-child {
    padding-top: 32px;
}

.glow-up-form-card > .block-content:last-child {
    padding-bottom: 32px;
}

.glow-up-form-card #form h4 {
    margin-bottom: 22px !important;
    color: var(--glow-ink);
    font-family: 'Libre Caslon Text', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.glow-up-form-card .form-control,
.glow-up-form-card .custom-select {
    min-height: 54px;
    border: 1px solid #e3d8c3;
    border-radius: 12px;
    background-color: #fff;
    color: var(--glow-ink);
    font-family: 'Jost', sans-serif;
    font-size: 17px;
}

.glow-up-form-card .form-control:focus,
.glow-up-form-card .custom-select:focus {
    border-color: #b8862f;
    box-shadow: 0 0 0 3px rgba(201, 153, 63, .18);
}

.glow-up-form-card .form-control::placeholder {
    color: #817768;
}

.glow-up-form-card #register-btn {
    min-height: 52px;
    padding: 13px 30px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #cba65e, #a47b33 55%, #80601f);
    box-shadow: 0 10px 22px rgba(110, 75, 20, .18);
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
}

.glow-up-form-card #register-btn:hover,
.glow-up-form-card #register-btn:focus {
    background: linear-gradient(135deg, #d8b978, #ae853c 55%, #886723);
}

.glow-up-form-card a {
    color: #78551d;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .glow-up-card > .block-content {
        padding: 16px;
    }

    .glow-up-hero {
        padding: 16px 12px;
        gap: 12px;
    }

    .glow-up-hero-panel {
        padding: 16px;
    }

    .glow-up-seal {
        width: 46px;
        height: 46px;
    }

    .glow-up-rule {
        margin: 12px auto;
    }

    .glow-up-intro {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 4px;
    }

    .glow-up-description {
        font-size: 16px;
        line-height: 1.5;
    }

    .glow-up-description p {
        margin-bottom: 12px;
    }

    .glow-up-description > :last-child,
    .glow-up-description > :has(+ [data-glow-spacer]:last-child) {
        margin-bottom: 0;
    }

    .glow-up-description [data-glow-spacer],
    .glow-up-description p > br:last-child,
    .glow-up-description p > br:has(+ br:last-child) {
        display: none;
    }

    .glow-up-facts {
        padding: 16px;
        gap: 8px;
    }

    .glow-up-facts > div {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px;
    }

    .glow-up-form-card > .block-content,
    .glow-up-form-card > .block-content:first-child,
    .glow-up-form-card > .block-content:last-child {
        padding: 16px;
    }

    .glow-up-form-card > .block-content:first-child:not(#form) {
        padding-bottom: 8px;
    }

    .glow-up-form-card #form {
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .glow-up-form-card #form h4 {
        margin-bottom: 14px !important;
        font-size: clamp(18px, 5.6vw, 22px);
        line-height: 1.25;
    }

    .glow-up-form-card .form-group {
        margin-bottom: 12px;
    }

    .glow-up-form-card .form-group:has(> input[type="hidden"]) {
        margin-bottom: 0;
    }

    .glow-up-form-card .form-control,
    .glow-up-form-card .custom-select {
        min-height: 48px;
        font-size: 16px;
    }

    .glow-up-form-card #register-btn {
        min-height: 48px;
    }
}

@media (max-width: 380px) {
    .glow-up-facts > div {
        grid-template-columns: 1fr;
        gap: 1px;
    }
}
