/* ============================================
   ELSTER clean stylesheet — final v2
   ============================================ */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    padding: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
    background: #fff;
}

a { color: #006d97; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0 0 1rem 0; }
strong { font-weight: 700; }

/* ============ HEADER ============ */
.header {
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6e6e6;
    max-width: 900px;
    margin: 0 auto;
}

.header__logo {
    color: #7ab800;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.header__icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #006d97;
    color: #ffffff;
    text-decoration: none !important;
    transition: background 0.15s ease;
}
.icon-circle:hover { background: #005a7d; }
.icon-circle svg { display: block; }

/* ============ CONTRAST TOGGLE ============ */
.contrast-row {
    padding: 16px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e6e6e6;
    max-width: 900px;
    margin: 0 auto;
}

.contrast-toggle {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(to right, #006d97 0%, #006d97 50%, #ffffff 50%, #ffffff 100%);
    border: 2px solid #006d97;
    position: relative;
    flex-shrink: 0;
}

.contrast-label {
    color: #006d97;
    font-size: 14px;
    font-weight: 400;
}

/* ============ ACTION BUTTONS ============ */
.action-buttons {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-bottom: 1px solid #e6e6e6;
    max-width: 900px;
    margin: 0 auto;
}

.btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    border-radius: 3px;
    text-decoration: none !important;
    transition: background 0.15s ease;
    cursor: pointer;
    border: 1px solid #006d97;
    font-family: inherit;
}

.btn--outline {
    color: #006d97;
    background: #ffffff;
}
.btn--outline:hover { background: #eaf4f8; }

.btn--primary {
    background: #006d97;
    color: #ffffff !important;
}
.btn--primary:hover { background: #005a7d; }

/* ============ MAIN CONTENT ============ */
.content {
    padding: 24px 30px 40px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.content p {
    font-size: 14px;
    line-height: 1.65;
    color: #333;
    margin-bottom: 1.15rem;
    text-align: left;
}

.cta-wrap {
    text-align: center;
    margin: 28px 0;
}

.cta-wrap .btn {
    display: inline-block;
    width: auto;
    padding: 13px 28px;
}

/* ============ GREEN TITLE BAND (page 2) ============ */
.title-band {
    background: #ffffff;
    border-top: 8px solid #7ab800;
    border-bottom: 8px solid #7ab800;
    padding: 34px 30px;
    text-align: center;
}

.title-band__heading {
    display: inline-block;
    margin: 0 auto;
    color: #333333;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
}

.title-band__star {
    color: #7ab800;
    font-size: 26px;
    line-height: 1;
    margin-left: 14px;
    vertical-align: 2px;
}

/* ============ FORM (page 2) ============ */
.content--form {
    padding: 40px 30px 50px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.form-heading {
    color: #4d6b00;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 26px;
}

.form-intro {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.personal-info-form { margin-top: 8px; }

.form-field { margin-bottom: 26px; }

.form-field label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-field .req {
    color: #e3000f;
    font-weight: 700;
    margin-left: 3px;
}

.form-field input,
.form-field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    outline: none;
    transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field select:focus { border-color: #006d97; }

.form-field input::placeholder { color: #999; }

.phone-input {
    display: flex;
    align-items: stretch;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    height: 48px;
}

.phone-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    background: #fff;
    border-right: 1px solid #b5b5b5;
    color: #333;
    font-size: 14px;
    flex-shrink: 0;
}

.phone-input input {
    flex: 1;
    height: 100%;
    border: none;
    border-radius: 0;
    padding: 0 14px;
    background: transparent;
}
.phone-input input:focus { border: none; outline: none; }

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    display: inline-block;
    width: auto;
    padding: 14px 34px;
}

/* ============ FOOTER ============ */
.footer {
    background: #3a3a3a;
    color: #fff;
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px 30px 40px 30px;
    max-width: 900px;
    margin: 0 auto;
    border-top: 6px solid #7ab800;
}

.footer__col {
    flex: 1 1 42%;
}

.footer__col--certs {
    flex: 1 1 100%;
    margin-top: 20px;
}

.footer__brand {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__brand .star {
    color: #7ab800;
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
}

.footer__brand--invisible {
    visibility: hidden;
}

.footer__col h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin: 30px 0 18px 0;
}

.footer__col ul li { padding: 7px 0; }
.footer__col ul li a { color: #d4d4d4; font-size: 14px; }
.footer__col ul li a:hover { color: #fff; }

/* Cert cards — image LEFT, text RIGHT, WIDER */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cert-card {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    text-decoration: none !important;
    min-height: 110px;
    width: 100%;
    max-width: 100%;
}

.cert-img {
    background: #ffffff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42%;
    min-width: 150px;
}
.cert-img img { max-height: 80px; width: auto; margin: 0 auto; }

.cert-text {
    background: #ececec;
    color: #006d97;
    padding: 16px 20px;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Footer bottom links */
.footer__bottom {
    background: #2b2b2b;
    padding: 20px 30px;
    border-top: 1px solid #484848;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.footer__links { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; }
.footer__links--right { margin-left: auto; }
.footer__links li a { color: #fff; font-size: 14px; font-weight: 400; }
.footer__links li a:hover { text-decoration: underline; }

.footer__copyright {
    color: #cfcfcf;
    font-size: 12px;
    width: 100%;
    margin-top: 14px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 600px) {
    .header, .contrast-row, .action-buttons, .content,
    .content--form, .footer__top, .footer__bottom {
        padding-left: 20px;
        padding-right: 20px;
    }
    .header__logo { font-size: 26px; }
    .title-band__heading { font-size: 19px; }
    .title-band__star { font-size: 22px; margin-left: 10px; }
    .form-heading { font-size: 19px; }
    .footer__col { flex: 1 1 100%; }
    .footer__links--right { margin-left: 0; }
    .cert-img { flex: 0 0 38%; min-width: 110px; padding: 12px; }
    .cert-img img { max-height: 60px; }
}