﻿:root {
    --ed-accent: rgb(255, 152, 0);
}

html,
body {
    overflow-anchor: none;
    -webkit-overflow-scrolling: touch;
}

html {
    scroll-behavior: smooth;
}

.ed-logo {
    font-weight: 700;
    letter-spacing: 0;
}

.ed-logo span {
    color: var(--ed-accent);
}

.ed-kicker {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--ed-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ed-hero-note {
    max-width: 560px;
}

.ed-stat {
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.ed-stat strong {
    display: block;
    color: #fff;
    font-size: 42px;
    line-height: 1;
}

.ed-stat span {
    color: rgba(255, 255, 255, .55);
}

.ed-card {
    height: 100%;
    padding: 34px;
    border: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
}

.ed-card-dark {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04);
}

.ed-service-tint {
    position: relative;
    overflow: hidden;
}

.ed-service-tint:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 152, 0, .08);
    opacity: 1;
    transition: opacity .35s ease;
}

.ed-service-tint:hover:before {
    opacity: .18;
}

.ed-service-tint:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--ed-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.ed-service-tint:hover:after {
    transform: scaleX(1);
}

.ed-service-tint:hover:before {
    width: 100%;
    opacity: 1;
}

.ed-service-tint h5,
.ed-service-tint p,
.ed-service-tint .mil-button {
    position: relative;
    z-index: 1;
}

.ed-service-tint p {
    opacity: 1;
    transform: translateY(0);
    color: rgba(0, 0, 0, .62);
}

.mil-dark-bg .ed-service-tint p {
    color: rgba(255, 255, 255, .58);
}

.ed-card h5,
.ed-card h4 {
    margin-bottom: 22px;
}

.ed-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ed-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 22px;
    color: rgba(0, 0, 0, .62);
}

.ed-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--ed-accent);
    border-radius: 50%;
}

.mil-dark-bg .ed-list li {
    color: rgba(255, 255, 255, .65);
}

.ed-ref-shot {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 330px;
    margin-bottom: 8px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, #111, var(--ed-accent));
    overflow: hidden;
}

.ed-ref-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    will-change: transform;
    transform: translateZ(0);
}

.ed-ref-shot:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .58));
}

.mil-blog-card:hover .ed-ref-shot img {
    transform: scale(1.05);
}

.ed-ref-shot strong {
    position: relative;
    z-index: 1;
    font-size: 30px;
    line-height: 1;
}

.ed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
}

.ed-tags span {
    padding: 6px 10px;
    color: #111;
    background: rgba(255, 152, 0, .16);
    font-size: 12px;
    font-weight: 700;
}

.ed-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.ed-filter button {
    min-width: 52px;
    min-height: 52px;
    padding: 12px 18px;
    color: #111;
    border: 0;
    background: #fff;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.ed-filter button.ed-active,
.ed-filter button:hover {
    color: #111;
    background: var(--ed-accent);
}

.ed-hidden {
    display: none;
}

.ed-process-number {
    color: var(--ed-accent);
    font-size: 14px;
    font-weight: 700;
}

.ed-form {
    padding: 28px;
    background: #fff;
}

.ed-form input,
.ed-form textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 0, 0, .12);
    outline: none;
    min-height: 42px;
}

.ed-form input {
    height: 42px !important;
}

.ed-form textarea {
    height: 78px !important;
    min-height: 78px;
    resize: vertical;
}

.ed-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 4px 0 14px;
}

.ed-checks label,
.ed-consent {
    display: flex;
    gap: 8px;
    font-size: 14px;
    line-height: 1.35;
}

.ed-checks label {
    align-items: center;
}

.ed-consent {
    align-items: flex-start;
}

.ed-consent span {
    display: block;
    flex: 1 1 auto;
}

.ed-checks input,
.ed-consent input {
    flex: 0 0 auto;
    width: 16px !important;
    height: 16px;
    margin: 0 !important;
    padding: 0;
    appearance: checkbox;
}

.ed-form .mil-button {
    margin-top: 8px;
}

.ed-form-alert {
    border-radius: 8px;
    margin-bottom: 24px;
    padding: 18px 22px;
    font-weight: 700;
    line-height: 1.45;
}

.ed-form-alert-success {
    background: #e7f7ee;
    color: #146c3a;
}

.ed-form-alert-error {
    background: #fdecec;
    color: #a12626;
}

.ed-contact-banner {
    padding-bottom: 96px;
}

.ed-contact-details {
    padding: 24px 0 2px;
    border-top: 1px solid rgba(0, 0, 0, .12);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.ed-contact-details span {
    display: block;
    margin-bottom: 10px;
    color: var(--ed-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.ed-contact-details p {
    color: #111;
    font-size: 18px;
    line-height: 1.5;
}

.ed-contact-details strong {
    color: #000;
}

.ed-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ed-button-dark {
    background: #000;
    color: #fff;
}

.ed-button-dark svg {
    background: var(--ed-accent);
}

.ed-button-dark svg path {
    fill: #000;
}

.ed-map {
    width: 100%;
    height: 460px;
    overflow: hidden;
    background: #fff;
}

.ed-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.mil-post-descr.ed-reference-card {
    padding-top: 14px;
}

.ed-cookie {
    position: fixed;
    right: 28px;
    bottom: 28px;
    left: 28px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .25s ease, transform .25s ease;
}

.ed-cookie-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.ed-cookie-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

.ed-cookie-copy {
    max-width: 690px;
}

.ed-cookie-copy span {
    display: block;
    margin-bottom: 10px;
    color: var(--ed-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.ed-cookie-copy h3 {
    margin-bottom: 10px;
    color: #000;
    font-size: 24px;
    line-height: 1.2;
}

.ed-cookie-copy p {
    margin: 0;
    color: #6b6b76;
}

.ed-cookie-settings {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.ed-cookie-settings[hidden],
.ed-cookie-button[hidden],
.ed-cookie-link[hidden] {
    display: none;
}

.ed-cookie-settings label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #222;
    font-size: 14px;
    line-height: 1.35;
    min-height: 24px;
}

.ed-cookie-settings input {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0 !important;
    padding: 0;
    appearance: none;
    border: 1px solid #b7bcc8;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.ed-cookie-settings input:checked {
    border-color: var(--ed-accent);
    background: var(--ed-accent);
}

.ed-cookie-settings input:checked:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ed-cookie-settings input:disabled {
    border-color: #c7c9d1;
    background: #c7c9d1;
    cursor: default;
}

.ed-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: 360px;
}

.ed-cookie-button,
.ed-cookie-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 70px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .3s cubic-bezier(0, 0, 0.3642, 1);
}

.ed-cookie-button {
    background: var(--ed-accent);
    color: #000;
}

.ed-cookie-secondary {
    background: #f1f1f1;
}

.ed-cookie-link {
    background: transparent;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ed-cookie-button:hover,
.ed-cookie-link:hover {
    transform: scale(1.03);
}

.ed-legal {
    max-width: 760px;
}

.ed-legal h3 {
    margin: 0 0 14px;
    color: #000;
    font-size: 24px;
    line-height: 1.25;
}

.ed-legal p {
    margin: 0 0 34px;
    color: #6b6b76;
}

.ed-legal a,
.ed-consent a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: var(--ed-accent);
    text-underline-offset: 4px;
}

@media screen and (max-width: 768px) {
    .ed-checks {
        grid-template-columns: 1fr;
    }

    .ed-form {
        padding: 28px;
    }

    .ed-contact-banner {
        padding-bottom: 56px;
    }

    .ed-contact-details p {
        font-size: 16px;
    }

    .ed-map {
        height: 340px;
    }

    .ed-cookie {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .ed-cookie-inner {
        display: block;
        padding: 22px;
    }

    .ed-cookie-copy h3 {
        font-size: 20px;
    }

    .ed-cookie-actions {
        display: grid;
        min-width: 0;
        margin-top: 20px;
    }

    .ed-cookie-button,
    .ed-cookie-link {
        width: 100%;
    }
}
