/* Logo page lead banner (resources/views/services/partials/logo-lead-banner.blade.php).
   The box comes first (centred on desktop), then the hero title, paragraph
   and work-sample rail below it; the rail is never covered. */

.logo-lead {
    --logo-lead-blue: #0073FC;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 28px;
    padding: 24px 24px 18px;
    border: 1px solid rgba(0, 115, 252, 0.55);
    border-radius: 20px;
    background: rgba(3, 8, 20, 0.86);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #fff;
    text-align: left;
}

#primary .logo-lead h2.logo-lead__title,
.logo-lead .logo-lead__title {
    margin: 0 0 16px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-transform: none;
}

.logo-lead__sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.logo-lead__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#primary .logo-lead .logo-lead__input,
.logo-lead .logo-lead__input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 54px;
    margin: 0 0 10px;
    padding: 0 18px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    color: #0b1b33;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.2;
    box-shadow: none;
    outline: none;
}

.logo-lead .logo-lead__input::placeholder {
    color: #6b7488;
    opacity: 0.6;
}

/* Business Name & Industry Details: two lines so the example shows in full. */
#primary .logo-lead textarea.logo-lead__input--area,
.logo-lead textarea.logo-lead__input--area {
    height: auto;
    min-height: 74px;
    padding: 13px 18px;
    line-height: 1.4;
    resize: none;
    overflow: hidden;
}

.logo-lead .logo-lead__input:focus {
    border-color: var(--logo-lead-blue);
    box-shadow: 0 0 0 3px rgba(0, 115, 252, 0.3);
}

.logo-lead .logo-lead__input[aria-invalid="true"] {
    border-color: #ff5a5a;
}

.logo-lead__note {
    margin: -2px 0 10px;
    color: #ffb4b4;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.logo-lead__note[hidden] {
    display: none;
}

.logo-lead .logo-lead__button {
    display: block;
    width: 100%;
    min-height: 56px;
    margin: 2px 0 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--logo-lead-blue);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 115, 252, 0.4);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.logo-lead .logo-lead__button:hover,
.logo-lead .logo-lead__button:focus-visible {
    background: #005fd4;
    transform: translateY(-1px);
}

.logo-lead .logo-lead__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.logo-lead .logo-lead__button:disabled {
    cursor: progress;
    opacity: 0.85;
    transform: none;
}

/* Optional offer line under the title (web design page). */
#primary .logo-lead p.logo-lead__intro,
.logo-lead .logo-lead__intro {
    margin: -6px 0 16px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

html[data-tk-theme="light"] #primary .logo-lead p.logo-lead__intro,
html[data-tk-theme="light"] .logo-lead .logo-lead__intro {
    color: #33415c !important;
}

@media (max-width: 991px) {
    #primary .logo-lead p.logo-lead__intro,
    .logo-lead .logo-lead__intro {
        text-align: inherit;
    }
}

@media (max-width: 575px) {
    #primary .logo-lead p.logo-lead__intro,
    .logo-lead .logo-lead__intro {
        margin: -8px 0 14px;
        font-size: 14px;
    }
}

#primary .logo-lead p.logo-lead__tagline,
.logo-lead .logo-lead__tagline {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

/* Light theme */
html[data-tk-theme="light"] .logo-lead {
    border-color: rgba(0, 115, 252, 0.35);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 46px rgba(15, 35, 70, 0.16);
    color: #0b1b33;
}

html[data-tk-theme="light"] #primary .logo-lead h2.logo-lead__title,
html[data-tk-theme="light"] .logo-lead .logo-lead__title {
    color: #0b1b33 !important;
}

html[data-tk-theme="light"] #primary .logo-lead .logo-lead__input,
html[data-tk-theme="light"] .logo-lead .logo-lead__input {
    border: 2px solid #cfdaea;
}

html[data-tk-theme="light"] .logo-lead .logo-lead__input:focus {
    border-color: var(--logo-lead-blue);
}

html[data-tk-theme="light"] .logo-lead .logo-lead__input[aria-invalid="true"] {
    border-color: #d93030;
}

html[data-tk-theme="light"] .logo-lead__note {
    color: #c62828;
}

html[data-tk-theme="light"] #primary .logo-lead p.logo-lead__tagline,
html[data-tk-theme="light"] .logo-lead .logo-lead__tagline {
    color: #33415c !important;
}

html[data-tk-theme="light"] .logo-lead .logo-lead__button:focus-visible {
    outline-color: #0b1b33;
}

/* The box sits on top of the hero, centred over both columns. */
.logo-lead-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 0 30px;
}

/* Less empty space between the fixed header and the box. */
#primary[data-service-slug="logo-design"] .service_main.black {
    padding-top: 130px !important;
}

@media (max-width: 991px) {
    #primary[data-service-slug="logo-design"] .service_main.black {
        padding-top: 92px !important;
    }
}

@media (min-width: 992px) {
    .logo-lead {
        max-width: 820px;
        margin: 0;
        padding: 26px 32px 20px;
    }

    #primary .logo-lead h2.logo-lead__title,
    .logo-lead .logo-lead__title {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .logo-lead {
        max-width: 560px;
        margin: 0;
    }

    .logo-lead-wrap {
        margin-bottom: 26px;
    }
}

@media (max-width: 575px) {
    .logo-lead {
        padding: 20px 16px 16px;
        border-radius: 16px;
    }

    #primary .logo-lead h2.logo-lead__title,
    .logo-lead .logo-lead__title {
        font-size: 21px;
    }

    #primary .logo-lead .logo-lead__input,
    .logo-lead .logo-lead__input {
        height: 52px;
        font-size: 16px;
    }

    .logo-lead .logo-lead__button {
        font-size: 16px;
    }

    #primary .logo-lead p.logo-lead__tagline,
    .logo-lead .logo-lead__tagline {
        font-size: 13.5px;
    }
}

/* Web design page: the box is the first thing under the header, so on
   phones it needs to clear the fixed header (the hero's own 50px did not). */
@media (max-width: 991px) {
    #primary.tk-page-webdesign .service_main .logo-lead-wrap {
        padding-top: 34px;
    }
}

@media (max-width: 575px) {
    .logo-lead .logo-lead__input::placeholder {
        font-size: 15px;
    }

    #primary .logo-lead textarea.logo-lead__input--area,
    .logo-lead textarea.logo-lead__input--area {
        height: auto;
        min-height: 96px;
    }
}
