/* Contact Us page (Pages/ContactUs.cshtml).
   The hero is in page-hero.css; .cta-pill is in home.css; .social-list is in layout.css. */

/* ---------- Contact details ---------- */
.ct-info {
    padding: 100px 0 50px;
    background: #fff;
}

.ct-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ct-info-card {
    height: 100%;
    padding: 34px 24px;
    border: 1px solid rgba(26, 86, 50, 0.12);
    border-radius: 16px;
    background: #fff;
    text-align: center;
    transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.4s ease;
}

.ct-info-card:hover {
    border-color: var(--brand-lime);
    background: #f8f5ec;
    transform: translateY(-6px);
}

.ct-info-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-lime);
    color: var(--brand-green);
    font-size: 26px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.ct-info-card:hover .ct-info-icon {
    background: var(--brand-green);
    color: var(--brand-lime);
}

.ct-info-card h3 {
    margin: 20px 0 0;
    color: var(--brand-green);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
}

.ct-info-card p,
.ct-info-card a {
    display: block;
    margin: 8px 0 0;
    color: rgba(26, 86, 50, 0.8);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ct-info-card a:hover {
    color: var(--brand-green);
    text-decoration: underline;
}

/* ---------- Form ---------- */
.ct-form-section {
    padding: 50px 0 100px;
    background: #fff;
}

/* Dark photo panel on the left, white form on the right, joined into one card. */
.ct-form-wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(26, 86, 50, 0.1);
}

.ct-side {
    padding: 56px 44px;
    background:
        linear-gradient(180deg, rgba(10, 36, 20, 0.88) 0%, rgba(6, 24, 14, 0.95) 100%),
        var(--ct-img) center / cover no-repeat,
        var(--brand-green);
}

.ct-side h2 {
    margin: 24px 0 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 400;
    line-height: 46px;
}

.ct-side > p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 27px;
}

.ct-side-points {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ct-side-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 16px;
}

.ct-side-points li + li {
    margin-top: 12px;
}

.ct-side-points .bi {
    color: var(--brand-lime);
    font-size: 20px;
}

.ct-social {
    margin-top: 36px;
}

.ct-form {
    padding: 56px 48px;
    background: #fff;
}

.ct-form h2 {
    margin: 0;
    color: var(--brand-green);
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
    line-height: 42px;
}

.ct-form-note {
    margin: 8px 0 0;
    color: rgba(26, 86, 50, 0.7);
    font-size: 14px;
}

.ct-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.ct-field-full {
    grid-column: 1 / -1;
}

.ct-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-green);
    font-size: 15px;
    font-weight: 600;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(26, 86, 50, 0.2);
    border-radius: 12px;
    background: #f8f5ec;
    color: var(--brand-green);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ct-field textarea {
    resize: vertical;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: var(--brand-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(216, 228, 90, 0.5);
}

.ct-field .is-invalid {
    border-color: #c0392b;
}

.ct-error {
    margin: 18px 0 0;
    color: #c0392b;
    font-size: 15px;
    font-weight: 600;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding: 8px 8px 8px 24px;
    border: 0;
    border-radius: 30px;
    background: var(--brand-green);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.ct-submit span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-lime);
    color: var(--brand-green);
    transition: transform 0.3s ease;
}

.ct-submit:hover {
    background: var(--brand-green-dark);
}

.ct-submit:hover span {
    transform: rotate(45deg);
}

.ct-submit:focus-visible {
    outline: 3px solid var(--brand-lime);
    outline-offset: 2px;
}

.ct-status {
    margin: 16px 0 0;
    color: var(--brand-green);
    font-size: 15px;
}

/* ---------- Map ---------- */
.ct-map {
    position: relative;
    line-height: 0;
}

/* Transparent layer over the map: the wheel scrolls the page, a click hands the map to the visitor. */
.ct-map-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ct-map-cover span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    background: rgba(26, 86, 50, 0.9);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ct-map:hover .ct-map-cover span,
.ct-map-cover:focus-visible span {
    opacity: 1;
}

.ct-map.is-active .ct-map-cover {
    display: none;
}

.ct-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
    filter: grayscale(0.4);
}

@media (max-width: 1199.98px) {
    .ct-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .ct-info {
        padding-top: 70px;
    }

    .ct-form-section {
        padding-bottom: 70px;
    }

    .ct-form-wrap {
        grid-template-columns: 1fr;
    }

    .ct-side,
    .ct-form {
        padding: 44px 30px;
    }
}

@media (max-width: 575.98px) {
    .ct-info-grid,
    .ct-fields {
        grid-template-columns: 1fr;
    }

    .ct-side h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .ct-side,
    .ct-form {
        padding: 36px 20px;
    }

    .ct-map iframe {
        height: 320px;
    }
}
