/* Change 020 — modern first screen of the homepage ONLY.
   Loaded after home-mobile.css; no global selectors, no header/footer changes. */
.nedra-home-headings .nedra-home-hero {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 476px;
    height: auto;
    padding: 38px 0 34px;
    text-align: left;
    background: #25282a url('../img/bg-top-section.jpg') center 49% / cover no-repeat;
    color: #fff;
    overflow: hidden;
}
.nedra-home-headings .nedra-home-hero::before { content: none; display: none; }
.nedra-home-headings .nedra-home-hero *,
.nedra-home-headings .nedra-home-hero *::before,
.nedra-home-headings .nedra-home-hero *::after { box-sizing: border-box; }
.nedra-home-headings .nedra-home-hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(16,21,25,.88) 0%, rgba(16,21,25,.78) 29%, rgba(16,21,25,.38) 62%, rgba(16,21,25,.31) 100%);
}
.nedra-home-headings .nedra-home-hero-container {
    width: min(1460px, calc(100% - 48px));
    max-width: 100%;
    min-height: 396px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(320px,390px);
    align-items: center;
    gap: clamp(28px,4vw,72px);
}
.nedra-home-headings .nedra-home-hero-content {
    min-width: 0;
    max-width: 860px;
    align-self: center;
    padding: 12px 0;
}
.nedra-home-headings .nedra-home-hero .top__section-banner,
.nedra-home-headings .nedra-home-hero .nedra-home-hero-copy {
    display: block;
    float: none;
    clear: none;
    width: 100%;
    max-width: 820px;
    margin: 0;
    padding: 0;
    opacity: 1;
    background: transparent;
    border: 0;
    text-align: left;
}
.nedra-home-headings .nedra-home-hero .banner__text-big {
    font: 700 clamp(38px, 3.5vw, 64px)/1.08 'OpenSansBold', Arial, Helvetica, sans-serif;
    letter-spacing: -.025em;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,.22);
    color: #fff;
}
.nedra-home-headings .nedra-home-hero .banner__text-big > span:first-child {
    color: #f28943;
}
.nedra-home-headings .nedra-home-hero .nedra-home-banner-subtitle {
    display: block;
    width: 100%;
    margin: 7px 0 0;
    color: #fff;
    font: 700 clamp(25px, 2.1vw, 36px)/1.22 'OpenSansBold', Arial, Helvetica, sans-serif;
    letter-spacing: -.016em;
}
.nedra-home-headings .nedra-home-hero-lead {
    margin: 22px 0 0;
    padding: 0;
    max-width: 690px;
    font: 400 clamp(16px, 1.16vw, 20px)/1.48 'OpenSansRegular', Arial, Helvetica, sans-serif;
    color: #f5f5f5;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.nedra-home-headings .nedra-home-hero-lead strong {
    font-weight: 700;
    font-family: 'OpenSansBold', Arial, Helvetica, sans-serif;
    color: #ff9a55;
}
.nedra-home-headings .nedra-home-hero-benefits {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    width: 100%;
    margin-top: 30px;
    gap: 0;
}
.nedra-home-headings .nedra-home-hero-benefit {
    min-width: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 16px;
    color: #fff;
    border-left: 1px solid rgba(255,255,255,.27);
    font: 400 12px/1.4 'OpenSansRegular', Arial, Helvetica, sans-serif;
}
.nedra-home-headings .nedra-home-hero-benefit:first-child { padding-left: 0; border-left: none; }
.nedra-home-headings .nedra-home-hero-benefit:last-child { padding-right: 0; }
.nedra-home-headings .nedra-home-hero-benefit svg {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: #f28943;
    stroke: currentColor;
}
.nedra-home-headings .nedra-home-hero-benefit span { min-width: 0; overflow-wrap: break-word; }

/* Bright inline lead form; CF7 remains the real backend/validation. */
.nedra-home-headings .nedra-home-hero-form-card {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 390px;
    margin: 0;
    padding: 23px 24px 15px;
    border: 1px solid rgba(218,221,225,.95);
    border-radius: 9px;
    background: rgba(255,255,255,.985);
    box-shadow: 0 19px 44px rgba(0,0,0,.22);
    color: #333236;
    text-align: left;
}
.nedra-home-headings .nedra-home-hero-form-title {
    margin: 0 0 5px;
    font: 700 20px/1.31 'OpenSansBold', Arial, Helvetica, sans-serif;
    color: #262a30;
}
.nedra-home-headings .nedra-home-hero-form-description {
    margin: 0 0 16px;
    color: #6e747d;
    font: 400 13px/1.5 'OpenSansRegular', Arial, Helvetica, sans-serif;
}
.nedra-home-headings .nedra-home-hero-form .wpcf7 { width: 100%; max-width: 100%; margin: 0; }
.nedra-home-headings .nedra-home-hero-form .wpcf7-form { margin: 0; padding: 0; }
.nedra-home-headings .nedra-home-hero-form .popupInn.nedra-contact-form {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #333236;
    text-align: left;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .top_block { display: none !important; }
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .formBox {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: auto;
    background: transparent;
    text-align: left;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .inputBox {
    width: 100%;
    display: block;
    position: relative;
    margin: 0 0 10px;
    padding: 0;
    order: 1;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .inputBox label {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0;
    color: transparent;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .inputBox .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .inputBox input {
    display: block;
    position: static;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    height: 47px;
    margin: 0 !important;
    padding: 0 13px 0 42px !important;
    border: 1px solid #d9dde2;
    border-radius: 5px;
    box-shadow: none;
    background-color: #fff;
    background-position: 13px 50%;
    background-repeat: no-repeat;
    background-size: 19px 19px;
    color: #252a30;
    text-align: left;
    font: 400 15px/1.4 'OpenSansRegular', Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    outline: none;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .inputBox:first-child input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23818a93' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E");
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .inputBox:nth-child(2) input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23818a93' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4.5 3.8 8 3l2.8 5.1-2.2 2.2a16 16 0 0 0 5.1 5.1l2.2-2.2L21 16l-.8 3.5a2 2 0 0 1-2.1 1.5A18 18 0 0 1 3 5.9 2 2 0 0 1 4.5 3.8Z'/%3E%3C/svg%3E");
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .inputBox input:focus {
    border-color: #ef914f;
    box-shadow: 0 0 0 3px rgba(242,137,67,.13);
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .inputBox input::placeholder { color: #979fa7; opacity: 1; }
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .btnBox {
    order: 2;
    display: block;
    margin: 2px 0 0;
    padding: 0;
    width: 100%;
    text-align: center;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .btnBox input[type="submit"] {
    display: block;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    height: 49px;
    margin: 0 !important;
    padding: 0 10px !important;
    border: none;
    border-radius: 5px;
    background: #f47731;
    background-image: linear-gradient(100deg,#ff8238 0%,#f36a2b 100%);
    color: #fff;
    box-shadow: none;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    font: 700 13px/1.3 'OpenSansBold', Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .btnBox input[type="submit"]:hover {
    background: #de6327;
    transform: translateY(-1px);
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .btnBox input[type="submit"]:focus-visible {
    outline: 2px solid #e16c34;
    outline-offset: 3px;
}
.nedra-home-headings .nedra-home-hero-form .nedra-contact-form .nedra-consent {
    order: 3;
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 0;
    padding: 0;
    font: 400 11px/1.43 'OpenSansRegular', Arial, Helvetica, sans-serif;
    color: #69727b;
}
.nedra-home-headings .nedra-home-hero-form .nedra-consent .wpcf7-form-control-wrap,
.nedra-home-headings .nedra-home-hero-form .nedra-consent .wpcf7-form-control,
.nedra-home-headings .nedra-home-hero-form .nedra-consent .wpcf7-list-item {
    display: inline-flex;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
    align-items: flex-start;
    line-height: 1;
}
.nedra-home-headings .nedra-home-hero-form .nedra-consent input[type="checkbox"] {
    display: inline-block;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    min-width: 16px;
    padding: 0;
    cursor: pointer;
    accent-color: #f28943;
}
.nedra-home-headings .nedra-home-hero-form .nedra-consent span { color: #69727b; }
.nedra-home-headings .nedra-home-hero-form .nedra-consent .wpcf7-list-item-label { display: none; }
.nedra-home-headings .nedra-home-hero-form .nedra-consent a {
    color: #c3632d;
    text-decoration: underline;
}
.nedra-home-headings .nedra-home-hero-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 4px;
    color: #bb3131;
    font-size: 12px;
    line-height: 1.3;
}
.nedra-home-headings .nedra-home-hero-form .wpcf7-response-output {
    clear: both;
    margin: 10px 0 0;
    padding: 9px;
    font-size: 12px;
    line-height: 1.4;
}
.nedra-home-headings .nedra-home-hero-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 13px 0 0;
    text-align: center;
    color: #757b83;
    font: 400 11px/1.3 'OpenSansRegular', Arial, Helvetica, sans-serif;
}
.nedra-home-headings .nedra-home-hero-privacy svg {
    width: 14px; height: 14px; flex: 0 0 14px;
    color: #535b62;
}
.nedra-home-headings .nedra-home-hero-fallback {
    display: block;
    width: 100%;
    background: #f28943;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font: 700 15px/1.3 'OpenSansBold', Arial, Helvetica, sans-serif;
}
@media screen and (max-width: 1199px) {
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero {
        min-height: 0;
        height: auto;
        padding: 35px 0;
        background-position: center;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-container {
        width: calc(100% - 36px);
        max-width: 100%;
        min-height: 0;
        grid-template-columns: minmax(0,1fr) minmax(286px,350px);
        gap: 24px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero .top__section-banner {
        display: block;
        float: none;
        margin: 0;
        padding: 0;
        max-width: none;
        background: transparent;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero .banner__text-big {
        font-size: clamp(31px,3.7vw,45px);
        line-height: 1.12;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero .banner__text-small {
        font-size: clamp(23px,2.5vw,30px);
        line-height: 1.24;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-benefits {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 15px 5px;
        max-width: 550px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-benefit:nth-child(odd) {
        border-left: 0; padding-left: 0;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-benefit:nth-child(even) {
        border-left: 1px solid rgba(255,255,255,.25);
    }
}
@media screen and (max-width: 767px) {
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero {
        padding: 28px 0 32px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: calc(100% - 32px);
        gap: 23px;
        margin: 0 auto;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-content {
        width: 100%;
        max-width: 100%;
        padding: 2px 0 0;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero .banner__text-big {
        font-size: clamp(30px,6vw,43px);
        line-height: 1.12;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero .banner__text-small {
        font-size: clamp(22px,4vw,28px);
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-lead {
        font-size: 15px;
        max-width: 580px;
        margin: 15px 0 0;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-benefits {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px 8px;
        margin-top: 21px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-benefit {
        min-height: 43px;
        padding: 0 7px 0 0;
        gap: 9px;
        font-size: 12px;
        line-height: 1.4;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-benefit svg {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-form-card {
        width: 100%;
        max-width: 520px;
        align-self: center;
        padding: 22px;
    }
}
@media screen and (max-width: 420px) {
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero {
        padding-top: 24px;
        padding-bottom: 25px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero .banner__text-big {
        font-size: clamp(27px,7.2vw,32px);
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero .banner__text-small {
        font-size: clamp(18px,5.1vw,23px);
        margin-top: 7px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-benefit {
        font-size: 11px;
        gap: 7px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-benefit svg {
        width: 23px; height: 23px; flex-basis: 23px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-form-card {
        padding: 20px 17px 15px;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-form-title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .nedra-home-headings .nedra-home-hero * { transition: none !important; }
}

/* 025 — consistent grid with the geo-survey block; first-screen-only rules.
   The matching values in nedra-geo-survey.css align both headings and cards. */
@media screen and (min-width: 1200px) {
    .nedra-home-headings .nedra-home-hero-container {
        width: min(1334px, calc(100% - 64px));
        max-width: 100%;
        margin-inline: auto;
        grid-template-columns: minmax(0, 1fr) minmax(0, 356px);
        column-gap: clamp(28px, 4vw, 72px);
    }
    .nedra-home-headings .nedra-home-hero-form-card {
        width: 100%;
        max-width: none;
        justify-self: end;
    }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-container {
        width: calc(100% - 40px);
        max-width: 100%;
        margin-inline: auto;
        grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
        column-gap: 24px;
    }
    .nedra-home-headings .nedra-home-hero-form-card {
        width: 100%;
        max-width: none;
        justify-self: end;
    }
}
@media screen and (max-width: 767px) {
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-container {
        width: calc(100% - 32px);
        max-width: 100%;
        margin-inline: auto;
    }
    body.nedra-home-mobile .nedra-home-headings .nedra-home-hero-form-card {
        width: 100%;
        max-width: 440px;
        align-self: center;
    }
}
