/* ===== Contact page – extends style.css ===== */
:root {
    --contact-teal:#2C3E50;
    --contact-teal-dark: #007A58;
    --contact-dark: #576B7E;
    --contact-dark-blue: #223F99;
}

.hero-content {
    bottom: unset;
    margin-top: 144px!important;
}

.page-contact .section .container,
.page-contact .container--contact {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact .container--contact {
    text-align: center;
}

.page-contact .container--contact-form {
    text-align: left;
}

.wpcf7.js {
    width: 100%;
}

.section-newsletter-wrapper .wpcf7.js {
    width: 38%;
}

.contact-form-field br {
    display: none;
}

.contact-form-row.contact-form-row--triple {
    margin-bottom: 24px;
}

.wpcf7-form-control.wpcf7-checkbox.contact-checkbox-contact {
    border: none!important;
}

.wpcf7-list-item.first.last input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid #007A58;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.wpcf7-list-item-label {
    font-weight: 300;
}

/* ===== Hero (Contact) ===== */
.hero--contact {
    min-height: auto;
    padding-bottom: 34px;
    padding-top: 0;
    background: #ffffff;
}

.hero-bg--contact {
    display: none;
}

.hero--contact .hero-overlay {
    display: none;
}

.hero-content--contact {
    padding: 0;
    margin: 0 auto;
    max-width: 1300px;
    width: 100%;
}

.contact-page-title {
    font-size: 120px;
    font-weight: 400;
    color: #2C3E50;
    margin: 0 0 12px;
    line-height: normal;
}

.contact-page-tagline {
    font-size: 32px;
    font-weight: 300;
    color: #576B7E;
    margin: 0;
}

/* Logo & Nav (light header) */
.logo--contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--contact-dark);
}

.logo--contact .logo-text--israel {
    color: var(--contact-teal-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.logo--contact .logo-text--experience {
    color: var(--contact-dark-blue);
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-links--contact a {
    color: var(--contact-dark);
}

.nav-links--contact a:hover {
    color: var(--contact-teal);
}

.hero--contact .nav-burger-line {
    background: var(--contact-dark);
}

/* ===== Get in Touch ===== */
.section-contact-touch {
    padding: 72px 0;
}

.contact-section-title {
    font-size: 48px;
    font-weight: 400;
    color: #2C3E50;
}

.contact-section-desc {
    font-size: 24px;
    font-weight: 300;
    color: #576B7E;
    margin: 0 0 40px;
    max-width: 640px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    width: 100%;
}

.contact-card {
    background: #F4F6F8;
    padding: 28px 24px;
    border-radius: 0;
    text-align: left;
    width: 100%;
    min-width: 0;
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-card-title {
    font-size: 32px;
    font-weight: 400;
    color: var(--contact-teal);
    margin-top: 0;
    margin-bottom: 0;
}

.contact-card-link {
    font-size: 32px;
    font-weight: 400;
    color: var(--contact-dark);
    display: inline-block;
}

.contact-card-link-email {
    text-decoration: underline;
}

.contact-card-link.contact-card-link-whatsapp {
    color: #007A58;
}

.contact-card-link:hover {
    color: var(--contact-teal);
    text-decoration: underline;
}

.contact-card-note {
    font-size: 24px;
    font-weight: 300;
    color: #576B7E;
    margin: 0;
}

/* ===== Contact Form ===== */
.section-contact-form {
    padding: 72px 0;
    background: #fff;
}

.container--contact-form .contact-form-title {
    font-size: 48px;
    font-weight: 400;
    color: #2C3E50;
    margin: 0 0 8px;
}

.container--contact-form .contact-form-desc {
    font-size: 32px;
    font-weight: 300;
    color: #576B7E;
    margin: 0 0 24px;
    max-width: none;
}

.contact-form {
    max-width: 100%;
    width: 100%;
}

.contact-form-row {
    margin-bottom: 20px;
}

.contact-form-row--triple {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}


.contact-form-field {
    display: flex;
    flex-direction: column;
}

.contact-form-field input {
    height: 61px;

}

.contact-label {
    display: block;
    font-size: 20px;
    font-weight: 300;
    color: #2C3E50;
    margin-bottom: 8px;
    text-align: left;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #DCE0E6;
    border-radius: 0;
    font-family: inherit;
    font-size: 16px;
    color: var(--contact-dark);
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #AAAAAA;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: var(--contact-teal);
    outline: none;
}

.contact-textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-row--message {
    margin-bottom: 20px;
}

.contact-textarea-wrapper {
    position: relative;
}

.contact-textarea-counter {
    position: absolute;
    bottom: 32px;
    left: 16px;
    font-size: 14px;
    color: #AAAAAA;
    pointer-events: none;
}

/* Phone field: intl-tel-input inside contact-form-field */
.contact-form-field.contact-form-row--phone .iti {
    width: 100%;
    display: block;
}

.contact-form-field.contact-form-row--phone .iti__tel-input,
.contact-form-field.contact-form-row--phone .iti input {
    width: 100%;
    padding: 14px 16px;
    padding-left: 52px;
    border: 1px solid #DCE0E6;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    color: var(--contact-dark);
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.contact-card-note {
    line-height: normal;
}

#contact-language-switcher .contact-bar-language, #contact-language-switcher .contact-bar-language__short {
    color: #2C3E50;
}

.nav--hero .contact-bar-burger .nav-burger-line {
    background-color: #2C3E50;
}

.contact-form-field.contact-form-row--phone .iti__tel-input::placeholder,
.contact-form-field.contact-form-row--phone .iti input::placeholder {
    color: #AAAAAA;
}

.contact-form-field.contact-form-row--phone .iti__tel-input:focus,
.contact-form-field.contact-form-row--phone .iti input:focus {
    border-color: var(--contact-teal);
    outline: none;
}

.contact-form-field.contact-form-row--phone .iti__flag-container {
    border: 1px solid #DCE0E6;
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.contact-form-field.contact-form-row--phone .iti:focus-within .iti__flag-container,
.contact-form-field.contact-form-row--phone .iti:hover .iti__flag-container {
    border-color: var(--contact-teal);
}

.contact-form-field.contact-form-row--phone .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background: transparent;
}

.contact-form-field.contact-form-row--phone .iti__selected-dial-code {
    color: #AAAAAA;
    font-size: 16px;
}

.contact-form-field.contact-form-row--phone .iti__arrow {
    border-top-color: #AAAAAA;
}

.contact-input--phone-iti {
    display: block;
}

.contact-form-checkboxes {
    margin: 24px 0 32px;
}

.contact-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    font-weight: 400;
    color: #2C3E50;
    margin-bottom: 12px;
    cursor: pointer;
}

.contact-checkbox-label span {
    font-size: 18px;
    color: #2C3E50;
    white-space: normal;
    line-height: 1.4;
}

.contact-checkbox-label a {
    color: #3498DB;
    text-decoration: underline;
}

.contact-checkbox-label a:hover {
    text-decoration: none;
}

.contact-checkbox-contact {
    width: 32px;
    height: 32px;
    margin-top: 0px;
    flex-shrink: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #B8C4D0 !important;
    border-radius: 0;
    background: #FFFFFF !important;
    transition: all 0.3s ease;
    position: relative;
    accent-color: transparent !important;
    box-shadow: none !important;
}

.contact-checkbox-contact:hover {
    border-color: #007A58;
    box-shadow: 0 0 0 3px rgba(0, 122, 88, 0.1) !important;
}

.contact-checkbox-contact:checked {
    background: #FFFFFF !important;
    border: 2px solid #B8C4D0 !important;
    box-shadow: none !important;
}

.contact-checkbox-contact:checked::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid #007A58;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.contact-checkbox-contact:focus {
    outline: none !important;
    border: 1px solid #B8C4D0 !important;
    box-shadow: 0 0 0 3px rgba(0, 122, 88, 0.2) !important;
}

.btn--contact-submit {
    background: linear-gradient(90deg, #40B56C 0%, #223F99 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: opacity 0.2s;
    border-radius: 0;
    width: 208px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    margin-top: 12px;
}

.btn--contact-submit svg {
    opacity: 0;
    max-width: 0;
    flex-shrink: 0;
    transition: opacity 0.25s ease, max-width 0.3s ease, margin-left 0.25s ease;
    margin-left: 0;
}

.btn--contact-submit:hover {
    opacity: 0.95;
}

.btn--contact-submit:hover svg {
    opacity: 1;
    max-width: 40px;
    margin-left: 10px;
}

.contact-checkbox-label span a {
    text-decoration: underline;
    color: #2C3E50;
}

.section-contact-group .container--contact {
    align-items: center;
}

.contact-group-desc {
    line-height: normal;
}

.btn--contact-group {
    padding: 11px 43px;
}

@media (max-width: 768px) {
    .contact-form-row--triple {
        grid-template-columns: 1fr;
    }
}

/* ===== Planning for a Group ===== */
.section-contact-group {
    background: #F4F6F8;
    padding: 72px 0;
}

.contact-group-title {
    font-size: 48px;
    font-weight: 400;
    color: var(--contact-dark);
    margin: 0 0 12px;
    text-align: center;
}

.contact-group-desc {
    font-size: 32px;
    font-weight: 300;
    color: #576B7E;
    text-align: center;
    margin: 0 auto;
}

.btn--contact-group {
    background: linear-gradient(90deg, #40B56C 0%, #223F99 100%);
    color: #fff;
    border: none;
    padding: 11px 43px;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
    border-radius: 0;
    margin-top: 48px;
}

.btn--contact-group:hover {
    opacity: 0.95;
    color: #fff;
}

.contact-newsletter.section-newsletter-wrapper {
    background: #FFFFFF;
    margin-top: 72px;
}

.contact-privacy-note-wrapper {
    width: 100%;
    background: #007A581A;
    line-height: normal;
}

.contact-privacy-note {
    font-size: 32px;
    font-weight: 400;
    color: #2C3E50;
    margin: 0 auto;
    padding: 24px 24px 24px;
    max-width: 1300px;
    text-align: center;
}

.footer-grid {
    column-gap: 72px;
    padding-bottom: 0;
}

.footer-info {
    padding: 12px 0;
}

/* ===== Stay connected (Newsletter) ===== */
.section-contact-newsletter {
    background: #2C3E50;
    padding: 56px 0;
}

.container--newsletter-inner {
    max-width: 1300px;
}

.contact-newsletter-title {
    font-size: 40px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 12px;
}

.contact-newsletter-desc {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px;
    max-width: 560px;
}

.contact-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.contact-newsletter-input {
    padding: 14px 16px;
    min-width: 280px;
    flex: 1;
    max-width: 400px;
    border: none;
    border-radius: 0;
    font-family: inherit;
    font-size: 16px;
}

.btn--contact-newsletter {
    background: linear-gradient(90deg, #40B56C 0%, #223F99 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn--contact-newsletter:hover {
    opacity: 0.95;
}

.contact-newsletter-legal {
    font-size: 16px;
    color: #F4F6F8;
    margin: 0;
    font-weight: 300;
}

.contact-newsletter-legal a {
    color: #F4F6F8;
    text-decoration: underline;
}

.contact-newsletter-legal a:hover {
    text-decoration: none;
}

/* ===== Footer overrides (contact page) ===== */
.page-contact .footer .logo-icon--multicolor {
    background: linear-gradient(135deg, #2db8a8 0%, #3a9e6d 40%, #6b5b95 100%);
}

.page-contact .footer .logo .logo-text-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 6px;
}

.page-contact .footer .footer-tagline {
    margin: 4px 0 0;
}

.section-newsletter-wrapper {
    margin-top: 80px;
    background: none;
}

.page-contact .footer .footer-social a {
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.container--contact {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#newsletter-email {
    height: 61px;
    width: 300px;
}

.newsletter-data-form {
    width: unset;
}

.newsletter-data-form .btn-primary {
    height: 61px;
}

@media (max-width: 1919px) {
    .hero-content--contact {
        max-width: calc(100vw - 144px);
        margin-left: 72px;
    }

    .container {
        max-width: calc(100vw - 250px);
        margin-left: 72px;
    }

    .contact-card {
        width: unset;
    }
}

@media screen and (max-width: 1399px) {
    .hero-accessibility {
        right: unset;
        left: 24px;
        top: 90%;
    }

    .container {
        max-width: calc(100vw - 144px);
        margin: 0 auto;
    }

    .contact-card {
    }
}

@media screen and (max-width: 1365px) {
    .container {
        max-width: calc(100vw - 144px);
    }

    .contact-page-title {
        font-size: 72px;
    }

    .hero-content--contact {
        max-width: calc(100vw - 144px);
    }

    .contact-card {
        width: unset;
    }

    .contact-card-link {
        font-size: 24px;
    }

    .contact-card-note {
        font-size: 20px;
    }

    .contact-group-title {
        text-align: center;
        font-size: 48px;
    }

    .contact-group-desc {
        max-width: unset;
        font-size: 32px;
    }



    .container--newsletter .newsletter-form {
        width: unset;
        flex-direction: column;
        align-items: start;
    }

    #newsletter-email {
        height: 61px;
        width: 300px;
    }

    .newsletter-data-form {
        width: unset;
    }

    .newsletter-data-form .btn-primary {
        height: 61px;
    }
}

@media screen and (max-width: 1023px) {
    .container {
        max-width: 624px;
    }

    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }

    .whatsapp-card {
        grid-column: span 2;
    }

    .container--contact {
        align-items: start;
    }

    .contact-form-row--triple {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-row--email {
        grid-column: span 2;
    }

    .contact-card {
        padding: 32px;
    }

    .contact-card-wrapper {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .contact-card-link {
        margin-bottom: 10px;
    }

    .contact-privacy-note {
        padding: 72px;
    }

    .newsletter-form input {
        min-width: 55%;
    }
}

@media screen and (max-width: 767px) {
    .container, .hero-content--contact {
        max-width: calc(100vw - 48px);
    }

    .hero {
        height: 250px;
    }

    .hero-content--contact {
        margin-left: 24px;
    }

    .hero-content {
        margin-top: 120px !important;
    }

    .container--contact {
        align-items: start;
    }

    .contact-page-title {
        font-size: 36px;
    }

    .contact-page-tagline {
        font-size: 24px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .whatsapp-card {
        grid-column: unset;
    }

    .contact-form-row--triple {
        grid-template-columns: 1fr;
    }

    .contact-form-row--email {
        grid-column: unset;
    }

    .contact-checkbox-label span {
        line-height: normal;
    }

    .contact-privacy-note {
        max-width: 375px;
    }

    #newsletter-email {
        width: 279px;
    }

    .newsletter-data-form .btn-primary {
        width: 279px;
    }

    .btn--contact-submit {
        width: 327px;
    }

    .contact-group-desc {
        font-size: 24px;
    }

    .contact-privacy-note {
        padding: 72px 24px;
    }

    .newsletter-legal {
        width: 284px;
    }

    .footer-info {
        padding: 24px;
    }
}