/* Hidden Growth — Kontakt i rozmowa */
.hg-contact-page {
    --hg-contact-gold: #c6a145;
    --hg-contact-gold-light: #f3dc6b;
    --hg-contact-dark: #393e46;
    --hg-contact-cream: #f4f0e8;
    --hg-contact-paper: #fbf8f1;
    color: var(--hg-contact-dark);
    background: var(--hg-contact-cream);
    overflow: hidden;
}

.hg-contact-shell {
    width: min(92vw, 1460px);
    margin-inline: auto;
}

.hg-contact-shell--narrow {
    width: min(88vw, 1080px);
}

.hg-contact-hero {
    position: relative;
    display: grid;
    min-height: clamp(620px, 78vh, 900px);
    align-items: center;
    padding: clamp(160px, 17vw, 245px) 0 clamp(90px, 10vw, 145px);
    background:
        radial-gradient(circle at 82% 22%, rgba(243, 220, 107, .22), transparent 32%),
        linear-gradient(120deg, #2f343b 0%, #393e46 52%, #4a5058 100%);
}

.hg-contact-hero::before,
.hg-contact-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(243, 220, 107, .22);
    border-radius: 50%;
    pointer-events: none;
}

.hg-contact-hero::before {
    width: min(48vw, 700px);
    aspect-ratio: 1;
    right: -13vw;
    top: -22vw;
}

.hg-contact-hero::after {
    width: min(30vw, 440px);
    aspect-ratio: 1;
    left: -11vw;
    bottom: -18vw;
}

.hg-contact-eyebrow,
.hg-contact-section-kicker {
    margin: 0 0 14px;
    color: var(--hg-contact-gold-light);
    font-family: "Raleway", Arial, sans-serif;
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 700;
    letter-spacing: .2em;
}

.hg-contact-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-family: "Forum", Georgia, serif;
    font-size: clamp(66px, 8.2vw, 132px);
    font-weight: 400;
    line-height: .92;
}

.hg-contact-lead {
    max-width: 850px;
    margin: clamp(28px, 3vw, 42px) 0 0;
    color: rgba(255, 255, 255, .84);
    font-family: "Raleway", Arial, sans-serif;
    font-size: clamp(18px, 1.55vw, 24px);
    line-height: 1.7;
}

.hg-contact-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
    max-width: 1050px;
    margin-top: clamp(42px, 5vw, 70px);
}

.hg-contact-path {
    position: relative;
    display: flex;
    min-height: 152px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 28px 34px;
    border-radius: 18px;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}

.hg-contact-path::before {
    content: "";
    position: absolute;
    top: -70%;
    bottom: -70%;
    left: -40%;
    width: 18%;
    transform: skewX(-23deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    filter: blur(5px);
    transition: left .85s ease;
}

.hg-contact-path--gold {
    color: #292d33;
    background: linear-gradient(135deg, #f3dc6b 0%, #c6a145 100%);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .24), 0 8px 24px rgba(198, 161, 69, .25);
}

.hg-contact-path--light {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
    backdrop-filter: blur(4px);
}

.hg-contact-path__title {
    font-family: "Forum", Georgia, serif;
    font-size: clamp(26px, 2.3vw, 36px);
    line-height: 1.05;
}

.hg-contact-path__text {
    margin-top: 11px;
    font-family: "Raleway", Arial, sans-serif;
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
    .hg-contact-path:hover {
        transform: translateY(-4px);
    }

    .hg-contact-path:hover::before {
        left: 125%;
    }

    .hg-contact-path--gold:hover {
        color: var(--hg-contact-gold-light);
        background: var(--hg-contact-dark);
        box-shadow: 0 20px 42px rgba(0, 0, 0, .3);
    }

    .hg-contact-path--light:hover {
        color: #292d33;
        border-color: transparent;
        background: linear-gradient(135deg, #f3dc6b 0%, #c6a145 100%);
        box-shadow: 0 18px 38px rgba(198, 161, 69, .3);
    }
}

.hg-contact-faq {
    padding: clamp(86px, 9vw, 140px) 0 clamp(76px, 8vw, 120px);
    text-align: center;
    background: var(--hg-contact-paper);
}

.hg-contact-faq .hg-contact-section-kicker,
.hg-contact-form-header .hg-contact-section-kicker {
    color: var(--hg-contact-gold);
}

.hg-contact-faq h2,
.hg-contact-form-header h2 {
    margin: 0;
    color: var(--hg-contact-dark);
    font-family: "Forum", Georgia, serif;
    font-size: clamp(46px, 5.2vw, 82px);
    font-weight: 400;
    line-height: 1.05;
}

.hg-contact-faq-placeholder {
    max-width: 800px;
    margin: 27px auto 0;
    color: #6b6d70;
    font-family: "Raleway", Arial, sans-serif;
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.75;
}

.hg-contact-form-section {
    padding: clamp(88px, 10vw, 150px) 0;
    background:
        radial-gradient(circle at 15% 12%, rgba(243, 220, 107, .2), transparent 27%),
        linear-gradient(135deg, #eee7da 0%, #f8f5ee 55%, #e9dfcf 100%);
}

.hg-contact-shell--form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.hg-contact-form-card {
    padding: clamp(32px, 4.5vw, 66px);
    border: 1px solid rgba(198, 161, 69, .6);
    border-radius: 28px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 24px 60px rgba(57, 62, 70, .13);
    backdrop-filter: blur(7px);
}

.hg-contact-form-header {
    max-width: 830px;
    margin-bottom: clamp(34px, 4vw, 52px);
}

.hg-contact-form-header p:last-child {
    margin: 21px 0 0;
    color: #686b70;
    font-family: "Raleway", Arial, sans-serif;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.7;
}

.hg-contact-form-footer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 26px;
    color: #77736c;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

.hg-contact-admin-note {
    padding: 18px 20px;
    border: 1px solid #c6a145;
    border-radius: 12px;
    background: #fff8d8;
    font-family: "Raleway", Arial, sans-serif;
    line-height: 1.6;
}

.hg-contact-direct {
    position: sticky;
    top: 130px;
    padding: 30px 28px;
    border-left: 3px solid var(--hg-contact-gold);
    border-radius: 0 18px 18px 0;
    background: rgba(57, 62, 70, .96);
    box-shadow: 0 20px 44px rgba(57, 62, 70, .2);
}

.hg-contact-direct__label {
    margin: 0 0 14px !important;
    color: var(--hg-contact-gold-light) !important;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hg-contact-direct a {
    color: #fff;
    font-family: "Forum", Georgia, serif;
    font-size: clamp(19px, 1.55vw, 25px);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hg-contact-direct p {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .72);
    font-family: "Raleway", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Radio buttons in the contact form follow the HG system. */
.hg-contact-page .fluentform input[type="radio"] {
    appearance: none;
    width: 22px !important;
    min-width: 22px;
    height: 22px !important;
    margin: 1px 10px 0 0 !important;
    border: 2px solid var(--hg-contact-gold) !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    vertical-align: top;
}

.hg-contact-page .fluentform input[type="radio"]:checked {
    box-shadow: inset 0 0 0 5px #fff !important;
    background: linear-gradient(135deg, #f3dc6b, #b88e20) !important;
}

.hg-contact-page .fluentform .ff-el-form-check:has(input[type="radio"]) {
    display: block !important;
    margin-bottom: 12px !important;
}

@media (max-width: 900px) {
    .hg-contact-paths,
    .hg-contact-shell--form {
        grid-template-columns: 1fr;
    }

    .hg-contact-direct {
        position: static;
        border-left: 0;
        border-top: 3px solid var(--hg-contact-gold);
        border-radius: 18px;
    }
}

@media (max-width: 640px) {
    .hg-contact-shell,
    .hg-contact-shell--narrow {
        width: min(91vw, 720px);
    }

    .hg-contact-hero {
        min-height: auto;
        padding-top: 145px;
    }

    .hg-contact-hero h1 {
        font-size: clamp(56px, 19vw, 88px);
    }

    .hg-contact-path,
    .hg-contact-form-card {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* Korekta zagęszczenia sekcji formularza — 2026-08-04 */
.hg-contact-form-section {
    padding: clamp(62px, 7vw, 104px) 0;
}

.hg-contact-shell--form {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
    gap: clamp(22px, 3vw, 44px);
}

.hg-contact-form-card {
    padding: clamp(28px, 3.6vw, 50px);
}

.hg-contact-form-header {
    margin-bottom: clamp(24px, 3vw, 38px);
}

.hg-contact-form-header h2 {
    font-size: clamp(42px, 4.2vw, 68px);
    line-height: 1;
}

.hg-contact-form-header p:last-child {
    margin-top: 15px;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.58;
}

.hg-contact-direct {
    padding: 28px 30px;
}

.hg-contact-direct a {
    display: block;
    font-size: clamp(16px, 1.15vw, 20px);
    line-height: 1.35;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.hg-contact-direct p {
    margin-top: 16px;
}

.hg-contact-page .fluentform .ff-el-group {
    margin-bottom: 16px;
}

.hg-contact-page .fluentform textarea,
.hg-contact-page .fluentform textarea.ff-el-form-control {
    height: 150px !important;
    min-height: 150px !important;
    padding-top: 17px !important;
    border-radius: 20px !important;
    line-height: 1.55 !important;
}

.hg-contact-form-footer {
    margin-top: 20px;
}

@media (max-width: 1100px) and (min-width: 901px) {
    .hg-contact-shell--form {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
    }

    .hg-contact-direct a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 900px) {
    .hg-contact-direct a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}


/* Responsywność formularza kontaktowego — stabilny układ na tablecie i telefonie. */
.hg-contact-page .fluentform,
.hg-contact-page .fluentform form,
.hg-contact-page .fluentform .ff-el-group,
.hg-contact-page .fluentform .ff-el-input--content,
.hg-contact-page .fluentform .ff-t-container,
.hg-contact-page .fluentform .ff-t-cell {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.hg-contact-page .fluentform .ff-t-container {
    gap: 16px !important;
}

.hg-contact-page .fluentform .ff-el-form-check,
.hg-contact-page .fluentform .ff-el-form-check-label,
.hg-contact-page .fluentform .ff-el-form-check > label {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
}

.hg-contact-page .fluentform .ff-el-form-check-label,
.hg-contact-page .fluentform .ff-el-form-check > label {
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

@media (max-width: 900px) {
    .hg-contact-form-section {
        padding: 54px 0 66px;
    }

    .hg-contact-shell--form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px;
        width: min(92vw, 760px);
    }

    .hg-contact-form-card,
    .hg-contact-direct {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .hg-contact-direct {
        position: static;
    }

    .hg-contact-page .fluentform .ff-t-container {
        display: block !important;
        margin: 0 !important;
    }

    .hg-contact-page .fluentform .ff-t-cell {
        display: block !important;
        padding: 0 !important;
        margin: 0 0 16px !important;
    }
}

@media (max-width: 640px) {
    .hg-contact-form-card {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .hg-contact-form-header h2 {
        font-size: clamp(38px, 12vw, 52px);
        line-height: 1.02;
    }

    .hg-contact-form-header p:last-child {
        font-size: 15px;
        line-height: 1.55;
    }

    .hg-contact-direct {
        padding: 24px 21px;
    }

    .hg-contact-direct a {
        font-size: clamp(15px, 4.5vw, 18px);
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hg-contact-page .fluentform .ff-el-form-check-label,
    .hg-contact-page .fluentform .ff-el-form-check > label,
    .hg-contact-page .fluentform label.ff-el-form-check-label {
        grid-template-columns: 22px minmax(0, 1fr) !important;
        column-gap: 10px !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .hg-contact-page .fluentform textarea,
    .hg-contact-page .fluentform textarea.ff-el-form-control {
        min-height: 170px !important;
        height: 170px !important;
    }
}

/* Panel kontaktowy nad formularzem na tablecie i telefonie — 2026-08-04 */
@media (max-width: 900px) {
    .hg-contact-shell--form {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .hg-contact-direct {
        order: -1;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 4px !important;
    }

    .hg-contact-form-card {
        order: 1;
        width: 100% !important;
        max-width: none !important;
    }
}
