/* Exact reference-style Project Enquiry section. Functional form + responsive only. */
.pef-section,
.pef-section * { box-sizing: border-box; }

.pef-section {
    --pef-bg: #0b0a0f;
    --pef-card: #17161f;
    --pef-line: #373540;
    --pef-muted: #77757f;
    --pef-text: #f1f0f4;
    --pef-accent: #ff4f43;
    position: relative;
    width: 100%;
    min-height: 752px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(500px 320px at 78% 38%, rgba(39,22,42,.11), transparent 70%),
        radial-gradient(300px 260px at 16% 75%, rgba(24,23,45,.10), transparent 72%),
        var(--pef-bg);
    color: var(--pef-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 0;
}

.pef-container {
    width: 935px;
    max-width: calc(100% - 32px);
    min-height: 752px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 355px 505px;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.pef-bg-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    pointer-events: none;
    opacity: .22;
}
.pef-glow-1 { width: 230px; height: 230px; right: 9%; top: 12%; background: #28162a; }
.pef-glow-2 { width: 180px; height: 180px; left: 10%; bottom: 7%; background: #11162c; }

.pef-kicker,
.pef-form-kicker {
    color: var(--pef-accent);
    font-size: 7px;
    line-height: 1;
    letter-spacing: 3px;
    font-weight: 700;
    margin: 0 0 24px;
}

.pef-title {
    margin: 0;
    font-size: 61px;
    line-height: .95;
    letter-spacing: -3.1px;
    font-weight: 800;
}

.pef-title span { color: var(--pef-accent); }

.pef-description {
    color: #77757f;
    font-size: 12px;
    line-height: 1.85;
    margin: 28px 0 37px;
    max-width: 345px;
}

.pef-contact-list { display: grid; gap: 26px; }

.pef-contact {
    display: flex;
    gap: 13px;
    align-items: center;
    transform: translateX(0);
    transition: transform .35s ease;
}
.pef-contact:hover { transform: translateX(4px); }

.pef-contact-icon {
    width: 38px;
    height: 38px;
    border: 1px solid #36343f;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--pef-accent);
    flex: 0 0 38px;
}
.pef-contact.active .pef-contact-icon {
    border-color: var(--pef-accent);
}
.pef-contact-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pef-contact-label {
    color: #66646f;
    font-size: 6px;
    letter-spacing: 2.2px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 10px;
}
.pef-contact-value {
    color: #c6c4cc;
    font-size: 9px;
    line-height: 1;
    font-weight: 600;
}

.pef-seal {
    width: 126px;
    height: 126px;
    border: 1px solid #292832;
    border-radius: 50%;
    margin-top: 42px;
    display: grid;
    place-items: center;
    position: relative;
    opacity: .85;
}
.pef-seal-ring {
    position: absolute;
    inset: 8px;
    border: 1px dashed #34333d;
    border-radius: 50%;
    animation: pef-spin 22s linear infinite;
}
.pef-seal span {
    color: #6e6c76;
    text-align: center;
    font-size: 6px;
    letter-spacing: 2px;
    line-height: 1.9;
}

.pef-card {
    width: 505px;
    min-height: 508px;
    padding: 43px 33px 29px;
    border: 1px solid #383642;
    border-radius: 25px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.022), transparent 38%),
        #17161f;
    box-shadow: 0 28px 65px rgba(0,0,0,.20);
}

.pef-card-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 27px;
}

.pef-form-kicker {
    color: #66646f;
    margin: 0 0 17px;
    font-size: 6px;
}

.pef-card h3 {
    margin: 0;
    font-size: 21px;
    letter-spacing: -.55px;
    line-height: 1.2;
}

.pef-step {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--pef-accent);
    color: #111;
    font-size: 10px;
    font-weight: 700;
}

.pef-form { display: grid; gap: 0; }

.pef-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
}

.pef-field {
    display: block;
    margin: 0 0 20px;
}
.pef-field span {
    display: block;
    color: #b2b0b9;
    font-size: 7px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 13px;
}
.pef-field b { color: var(--pef-accent); }

.pef-field input,
.pef-field textarea {
    width: 100%;
    color: #e9e7ed;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #393742;
    border-radius: 0;
    outline: none;
    padding: 0 0 12px;
    font: inherit;
    font-size: 11px;
    box-shadow: none;
    transition: border-color .25s ease;
}
.pef-field input { height: 34px; }
.pef-field textarea {
    min-height: 100px;
    height: 100px;
    resize: vertical;
    padding-top: 2px;
    line-height: 1.65;
}
.pef-field input::placeholder,
.pef-field textarea::placeholder { color: #45434d; }

.pef-field input:focus,
.pef-field textarea:focus {
    border-color: #4b4855;
    box-shadow: none;
}

.pef-form-footer {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.pef-form-footer p {
    margin: 0;
    color: #4e4c57;
    font-size: 6px;
    line-height: 1.65;
    max-width: 210px;
}

.pef-submit,
.pef-submit:hover,
.pef-submit:focus,
.pef-submit:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: var(--pef-accent) !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: opacity .25s ease;
}
.pef-submit:hover { opacity: .92; }
.pef-submit:disabled { opacity: .55; cursor: wait; }

.pef-submit i {
    width: 44px;
    height: 44px;
    border: 1px solid #393742;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 14px;
    color: var(--pef-accent);
    background: transparent !important;
    transition: transform .35s ease, border-color .35s ease;
}
.pef-submit:hover i {
    transform: rotate(45deg);
    border-color: var(--pef-accent);
}

.pef-message {
    min-height: 18px;
    margin-top: 12px;
    font-size: 8px;
    color: #aaa8b2;
}
.pef-message.success { color: #9fc7a9; }
.pef-message.error { color: var(--pef-accent); }

.pef-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.pef-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.pef-reveal.pef-visible {
    opacity: 1;
    transform: translateY(0);
}
.pef-card.pef-reveal { transition-delay: .12s; }

@keyframes pef-spin { to { transform: rotate(360deg); } }

@media (max-width: 950px) {
    .pef-container {
        width: min(935px, calc(100% - 32px));
        grid-template-columns: minmax(0, 355px) minmax(0, 505px);
        gap: 5.5vw;
    }
    .pef-card { width: 100%; }
}

@media (max-width: 780px) {
    .pef-section {
        min-height: auto;
        padding: 65px 0 55px;
    }
    .pef-container {
        width: min(620px, calc(100% - 32px));
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 48px;
        align-items: start;
    }
    .pef-title { font-size: clamp(50px, 11vw, 61px); }
    .pef-card { width: 100%; }
}

@media (max-width: 600px) {
    .pef-section { padding: 48px 0 42px; }
    .pef-container { width: calc(100% - 28px); gap: 34px; }
    .pef-title {
        font-size: clamp(45px, 14vw, 58px);
        letter-spacing: -2.7px;
    }
    .pef-description { font-size: 11px; margin-top: 23px; }
    .pef-card {
        min-height: auto;
        padding: 30px 21px 24px;
        border-radius: 20px;
    }
    .pef-card-header { margin-bottom: 24px; }
    .pef-card h3 { font-size: 18px; }
    .pef-step { width: 38px; height: 38px; flex-basis: 38px; }
    .pef-grid { grid-template-columns: 1fr; gap: 0; }
    .pef-form-footer { align-items: flex-end; }
    .pef-submit { gap: 9px; }
    .pef-submit i { width: 40px; height: 40px; }
    .pef-desktop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pef-reveal,
    .pef-contact,
    .pef-submit i,
    .pef-seal-ring { transition: none; animation: none; }
}
