/* Contact page (2026-12-03/04). Site tokens: lime #cfff7f / dark green
   #0c2e16, the city-hero wash (city_landing.css), 404-page card style.
   Motion follows city_landing.css (0.7s cubic-bezier(0.22, 1, 0.36, 1)
   fade-up) and is switched off for reduced motion. */

.ct {
    --ct-lime: #cfff7f;
    --ct-dark: #0c2e16;
    --ct-dark-2: #164a24;
    --ct-ink: #111827;
    --ct-text: #374151;
    --ct-muted: #6b7280;
    --ct-soft: #f6f8f4;
    --ct-error: #b42318;
    --ct-ease: cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--ct-text);
}

.ct-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- motion ---------- */
.ct-rise {
    animation: ct-rise 0.8s var(--ct-ease) both;
    animation-delay: var(--d, 0ms);
}

@keyframes ct-rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

.js-ct .ct-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ct-ease), transform 0.7s var(--ct-ease);
}

.js-ct .ct-reveal.in-view {
    opacity: 1;
    transform: none;
}

.js-ct .ct-explore .ct-tile {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ct-ease), transform 0.6s var(--ct-ease), background-color 0.2s ease, border-color 0.2s ease;
    transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s;
}

.js-ct .ct-explore.in-view .ct-tile {
    opacity: 1;
    transform: none;
}

/* ---------- buttons ---------- */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ct-btn-block {
    width: 100%;
}

.ct-btn svg {
    transition: transform 0.2s ease;
}

.ct-btn:hover svg {
    transform: translateX(3px);
}

.ct-btn:focus-visible,
.ct-copy:focus-visible,
.ct-social a:focus-visible,
.ct-tile:focus-visible,
.ct-link-btn:focus-visible,
.ct-option input:focus-visible + .ct-option-icon {
    outline: 3px solid var(--ct-dark);
    outline-offset: 3px;
}

.ct-btn-primary {
    background: var(--ct-lime);
    color: var(--ct-dark);
    border-color: var(--ct-dark);
}

.ct-btn-primary:hover {
    color: var(--ct-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(12, 46, 22, 0.18);
}

.ct-btn-dark {
    background: var(--ct-dark);
    color: var(--ct-lime);
}

.ct-btn-dark:hover {
    background: var(--ct-dark-2);
    color: var(--ct-lime);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(12, 46, 22, 0.25);
}

/* ---------- hero ---------- */
.ct-hero {
    position: relative;
    background:
        radial-gradient(900px 460px at 12% -8%, rgba(12, 46, 22, 0.08), transparent 60%),
        linear-gradient(135deg, #ffffff 0%, #f1ffb8 50%, #cfff7f 100%);
    padding: 72px 0 80px;
    overflow: hidden;
}

/* faint dotted grid, like a show-floor plan */
.ct-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(12, 46, 22, 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 60%, #000 100%);
    pointer-events: none;
}

.ct-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.ct-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(12, 46, 22, 0.12);
    color: var(--ct-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ct-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #65a30d;
    animation: ct-pulse 2.4s ease-out infinite;
}

@keyframes ct-pulse {
    0% { box-shadow: 0 0 0 0 rgba(101, 163, 13, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(101, 163, 13, 0); }
    100% { box-shadow: 0 0 0 0 rgba(101, 163, 13, 0); }
}

.ct-title {
    margin: 20px 0 32px;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.6px;
    color: var(--ct-dark);
}

/* lime highlighter sweeps under the last word */
.ct-title span {
    background: linear-gradient(var(--ct-lime), var(--ct-lime)) no-repeat 0 88% / 0% 38%;
    padding: 0 6px;
    margin-left: -2px;
    animation: ct-highlight 0.9s var(--ct-ease) 0.6s forwards;
}

@keyframes ct-highlight {
    to { background-size: 100% 38%; }
}

/* contact details */
.ct-card-dark {
    position: relative;
    background: var(--ct-dark);
    color: #e5efe7;
    border-radius: 24px;
    padding: 26px 28px;
    box-shadow: 0 24px 48px -18px rgba(12, 46, 22, 0.45);
    overflow: hidden;
    max-width: 500px;
}

.ct-card-dark::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 255, 127, 0.22), transparent 70%);
    pointer-events: none;
}

.ct-detail {
    display: flex;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-detail-body {
    min-width: 0;
}

.ct-detail-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ct-lime);
    color: var(--ct-dark);
}

.ct-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(229, 239, 231, 0.6);
    margin-bottom: 4px;
}

.ct-detail-value {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    word-break: break-word;
}

.ct-detail-value--sm {
    font-size: 15px;
}

a.ct-detail-value:hover {
    color: var(--ct-lime);
}

.ct-email-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ct-email-row .ct-detail-value {
    display: inline;
}

.ct-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(207, 255, 127, 0.35);
    background: transparent;
    color: var(--ct-lime);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ct-copy:hover,
.ct-copy.is-done {
    background: var(--ct-lime);
    color: var(--ct-dark);
}

.ct-detail-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ct-lime);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ct-detail-link:hover {
    color: #fff;
}

.ct-social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ct-social-row .ct-detail-label {
    margin: 0;
}

.ct-social {
    display: flex;
    gap: 8px;
}

.ct-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ct-social a:hover {
    background: var(--ct-lime);
    border-color: var(--ct-lime);
    color: var(--ct-dark);
    transform: translateY(-2px);
}

/* ---------- router card ---------- */
.ct-form-card {
    background: #fff;
    border-radius: 28px;
    padding: 34px;
    border: 1px solid rgba(12, 46, 22, 0.08);
    box-shadow: 0 30px 60px -24px rgba(12, 46, 22, 0.3), 0 2px 6px rgba(16, 24, 40, 0.04);
}

.ct-form-title {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 800;
    color: var(--ct-dark);
}

.ct-options {
    display: grid;
    gap: 10px;
}

.ct-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid #e4e7ec;
    border-radius: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-option:hover {
    border-color: #98a2b3;
}

.ct-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ct-option-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ct-soft);
    color: var(--ct-dark);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ct-option-text b {
    display: block;
    font-size: 16px;
    color: var(--ct-ink);
}

.ct-option-text small {
    display: block;
    font-size: 14px;
    color: var(--ct-muted);
}

/* radio dot on the right */
.ct-option::after {
    content: "";
    margin-left: auto;
    flex: 0 0 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d0d5dd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-option:has(input:checked) {
    border-color: var(--ct-dark);
    background: #fbfff3;
    box-shadow: 0 6px 18px -10px rgba(12, 46, 22, 0.35);
}

.ct-option:has(input:checked) .ct-option-icon {
    background: var(--ct-dark);
    color: var(--ct-lime);
}

.ct-option:has(input:checked)::after {
    border-color: var(--ct-dark);
    box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--ct-dark);
}

/* the chosen option's panel opens below */
.ct-panel {
    display: none;
    margin-top: 18px;
    animation: ct-rise 0.45s var(--ct-ease);
}

.ct-router:has(input[value="quotes"]:checked) .ct-panel--quotes,
.ct-router:has(input[value="listing"]:checked) .ct-panel--listing,
.ct-router:has(input[value="other"]:checked) .ct-panel--other {
    display: block;
}

.ct-panel > p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ct-text);
}

/* ---------- message form ---------- */
.ct-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ct-field {
    margin: 0 0 14px;
    min-width: 0;
}

.ct-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ct-ink);
}

.ct-optional {
    font-weight: 500;
    color: var(--ct-muted);
    font-size: 13px;
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--ct-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55;
}

.ct-field input:hover,
.ct-field textarea:hover {
    border-color: #98a2b3;
}

.ct-field input:focus,
.ct-field textarea:focus {
    outline: none;
    border-color: var(--ct-dark);
    box-shadow: 0 0 0 4px rgba(207, 255, 127, 0.7);
}

.ct-field [aria-invalid="true"] {
    border-color: var(--ct-error);
}

.ct-error {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ct-error);
}

.ct-error:empty {
    display: none;
}

.ct-field-foot {
    display: flex;
    gap: 12px;
}

.ct-count {
    margin-left: auto;
    margin-top: 4px;
    font-size: 12px;
    color: var(--ct-muted);
    font-variant-numeric: tabular-nums;
}

.ct-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(207, 255, 127, 0.35);
    border-top-color: var(--ct-lime);
    animation: ct-spin 0.7s linear infinite;
}

@keyframes ct-spin {
    to { transform: rotate(360deg); }
}

.ct-submit.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.ct-submit.is-loading .ct-spinner {
    display: inline-block;
}

.ct-submit.is-loading svg {
    display: none;
}

.ct-privacy {
    margin: 10px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--ct-muted);
}

.ct-privacy a {
    color: var(--ct-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ct-form-status {
    margin: 10px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ct-error);
}

.ct-form-status:empty {
    display: none;
}

/* sent */
.ct-success {
    text-align: center;
    padding: 40px 8px;
    animation: ct-rise 0.6s var(--ct-ease);
}

.ct-success:focus {
    outline: none;
}

.ct-success h2 {
    margin: 18px 0 6px;
    font-size: 28px;
    font-weight: 800;
    color: var(--ct-dark);
}

.ct-success p {
    margin: 0 0 18px;
    font-size: 16px;
}

.ct-success-mark {
    width: 84px;
    height: 84px;
}

.ct-success-mark circle {
    fill: var(--ct-lime);
    stroke: var(--ct-dark);
    stroke-width: 2;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: ct-draw 0.6s var(--ct-ease) forwards;
}

.ct-success-mark path {
    fill: none;
    stroke: var(--ct-dark);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: ct-draw 0.4s var(--ct-ease) 0.45s forwards;
}

@keyframes ct-draw {
    to { stroke-dashoffset: 0; }
}

.ct-link-btn {
    background: none;
    border: 0;
    padding: 4px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--ct-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ct-link-btn:hover {
    color: var(--ct-dark);
}

/* ---------- counts ---------- */
.ct-explore {
    padding: 56px 0 8px;
    background: #fff;
}

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

.ct-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border-radius: 20px;
    background: var(--ct-soft);
    border: 1px solid #edf1e8;
    text-decoration: none;
}

.ct-tile:hover {
    background: #f1ffd9;
    border-color: #c9ec8f;
}

.ct-tile-num {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--ct-dark);
    font-variant-numeric: tabular-nums;
}

.ct-tile-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ct-ink);
}

.ct-tile-label svg {
    transition: transform 0.2s ease;
}

.ct-tile:hover .ct-tile-label svg {
    transform: translateX(3px);
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .ct-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* heading, then the router card, then contact details */
    .ct-hero-copy {
        display: contents;
    }

    .ct-eyebrow { order: 1; justify-self: start; }
    .ct-title { order: 2; margin: 0; font-size: 44px; }
    .ct-form-card { order: 3; }
    .ct-card-dark { order: 4; max-width: none; }

    .ct-explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ct-hero {
        padding: 40px 0 48px;
    }

    .ct-hero-grid {
        gap: 20px;
    }

    .ct-title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .ct-form-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .ct-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ct-card-dark {
        padding: 22px 20px;
        border-radius: 22px;
    }

    .ct-explore {
        padding-top: 40px;
    }

    .ct-explore-grid {
        gap: 12px;
    }

    .ct-tile {
        padding: 18px 16px;
    }

    .ct-tile-num {
        font-size: 30px;
    }

    .ct-tile-label {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct *,
    .ct *::before,
    .ct *::after {
        animation: none !important;
        transition: none !important;
    }

    .js-ct .ct-reveal,
    .js-ct .ct-explore .ct-tile {
        opacity: 1;
        transform: none;
    }

    .ct-title span {
        background-size: 100% 38%;
    }

    .ct-success-mark circle,
    .ct-success-mark path {
        stroke-dashoffset: 0;
    }
}
