/* ==========================================================================
   CONTACT — public page (modern redesign)
   Namespaced under .ctc so nothing here leaks into other public pages or the
   admin screens. Palette matches the site: #667eea → #764ba2 brand,
   #ff6b35 accent, 1400px shell to line up with the header.
   ========================================================================== */

.ctc {
    --ctc-brand: #667eea;
    --ctc-brand-2: #764ba2;
    --ctc-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --ctc-accent: #ff6b35;
    --ctc-ink: #1e2a3a;
    --ctc-ink-2: #46536a;
    --ctc-muted: #7a8699;
    --ctc-line: #e7e9f3;
    --ctc-tint: #f6f7fe;
    --ctc-radius: 20px;
    --ctc-shadow: 0 2px 14px rgba(18, 41, 63, .06);
    --ctc-shadow-lg: 0 18px 44px rgba(18, 41, 63, .13);

    display: block;
    background: #fff;
    color: var(--ctc-ink);
}

.ctc,
.ctc *,
.ctc *::before,
.ctc *::after {
    box-sizing: border-box;
}

.ctc-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ctc-section {
    padding: 64px 0;
}

.ctc-section--tint {
    background: var(--ctc-tint);
    border-top: 1px solid var(--ctc-line);
    border-bottom: 1px solid var(--ctc-line);
}

/* Section heading block */
.ctc-head {
    max-width: 62ch;
    margin: 0 0 34px;
}

.ctc-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ctc-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ctc-brand);
}

.ctc-head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--ctc-ink);
}

.ctc-head p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ctc-ink-2);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.ctc-hero {
    position: relative;
    overflow: hidden;
    padding: 30px 0 56px;
    background: var(--ctc-tint);
    border-bottom: 1px solid var(--ctc-line);
}

.ctc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 320px at 6% -30%, rgba(102, 126, 234, .17), transparent 70%),
        radial-gradient(540px 280px at 98% 130%, rgba(118, 75, 162, .14), transparent 70%);
    pointer-events: none;
}

.ctc-hero > .ctc-shell {
    position: relative;
    z-index: 1;
}

.ctc-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: .84rem;
    color: var(--ctc-muted);
}

.ctc-crumbs a {
    color: var(--ctc-muted);
    text-decoration: none;
    transition: color .15s;
}

.ctc-crumbs a:hover {
    color: var(--ctc-brand);
}

.ctc-crumbs i {
    font-size: .62rem;
    opacity: .6;
}

.ctc-crumbs [aria-current] {
    color: var(--ctc-ink-2);
    font-weight: 600;
}

.ctc-hero h1 {
    margin: 0 0 12px;
    max-width: 18ch;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--ctc-ink);
}

.ctc-lede {
    margin: 0;
    max-width: 60ch;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--ctc-ink-2);
}

/* Response-time reassurance */
.ctc-promise {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 18px;
    border: 1px solid rgba(102, 126, 234, .25);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--ctc-shadow);
    font-size: .92rem;
    font-weight: 600;
    color: var(--ctc-ink-2);
}

.ctc-promise i {
    color: var(--ctc-brand);
}

/* ==========================================================================
   CONTACT CHANNELS
   ========================================================================== */

.ctc-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
}

.ctc-channel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 22px;
    border: 1px solid var(--ctc-line);
    border-radius: var(--ctc-radius);
    background: #fff;
    box-shadow: var(--ctc-shadow);
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ctc-channel:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, .35);
    box-shadow: var(--ctc-shadow-lg);
}

.ctc-channel-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ctc-tint);
    color: var(--ctc-brand);
    font-size: 1.15rem;
    transition: background .2s ease, color .2s ease;
}

.ctc-channel:hover .ctc-channel-ic {
    background: var(--ctc-grad);
    color: #fff;
}

.ctc-channel-body {
    min-width: 0;
}

.ctc-channel h3 {
    margin: 0 0 4px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ctc-ink);
}

.ctc-channel p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.5;
    color: var(--ctc-muted);
    overflow-wrap: anywhere;
}

.ctc-channel-value {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    font-size: .93rem;
    font-weight: 700;
    color: var(--ctc-brand);
}

.ctc-channel-value i {
    font-size: .74rem;
    transition: transform .2s ease;
}

.ctc-channel:hover .ctc-channel-value i {
    transform: translateX(3px);
}

/* ==========================================================================
   FORM
   ========================================================================== */

.ctc-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

.ctc-form-aside h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.ctc-form-aside > p {
    margin: 0 0 24px;
    max-width: 44ch;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ctc-ink-2);
}

.ctc-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ctc-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .96rem;
    line-height: 1.55;
    color: var(--ctc-ink-2);
}

.ctc-points i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--ctc-brand);
    font-size: .9rem;
}

.ctc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 30px 28px;
    border: 1px solid var(--ctc-line);
    border-radius: var(--ctc-radius);
    background: #fff;
    box-shadow: var(--ctc-shadow-lg);
}

.ctc-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

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

.ctc-field label {
    font-size: .84rem;
    font-weight: 600;
    color: var(--ctc-ink-2);
}

.ctc-req {
    color: var(--ctc-accent);
}

.ctc-field input,
.ctc-field select,
.ctc-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d7dbe6;
    border-radius: 12px;
    background: #fff;
    color: var(--ctc-ink);
    font-family: inherit;
    font-size: .96rem;
    transition: border-color .15s, box-shadow .15s;
}

.ctc-field textarea {
    min-height: 148px;
    resize: vertical;
    line-height: 1.6;
}

.ctc-field input:focus,
.ctc-field select:focus,
.ctc-field textarea:focus {
    outline: none;
    border-color: var(--ctc-brand);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, .15);
}

.ctc-counter {
    align-self: flex-end;
    font-size: .78rem;
    color: var(--ctc-muted);
    font-variant-numeric: tabular-nums;
}

.ctc-counter.is-limit {
    color: var(--ctc-accent);
    font-weight: 700;
}

/* Privacy note under the submit button */
.ctc-formnote {
    grid-column: 1 / -1;
    margin: 0;
    font-size: .82rem;
    line-height: 1.55;
    color: var(--ctc-muted);
}

.ctc-formnote i {
    color: var(--ctc-brand);
    margin-right: 5px;
}

/* Honeypot — must stay invisible to humans but reachable to bots. */
.ctc-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.ctc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 26px;
    border: 1px solid var(--ctc-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ctc-ink);
    font-family: inherit;
    font-size: .97rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .16s, box-shadow .16s, transform .16s, opacity .16s;
}

.ctc-btn:hover {
    border-color: rgba(102, 126, 234, .45);
    box-shadow: 0 8px 18px rgba(102, 126, 234, .15);
    transform: translateY(-1px);
}

.ctc-btn-primary {
    grid-column: 1 / -1;
    border-color: transparent;
    background: var(--ctc-grad);
    color: #fff;
    box-shadow: 0 8px 20px rgba(102, 126, 234, .3);
}

.ctc-btn-primary:hover {
    border-color: transparent;
    opacity: .96;
    box-shadow: 0 12px 26px rgba(102, 126, 234, .36);
}

.ctc-btn-primary[disabled] {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   FEATURE / TRAVELLER GRIDS  (short blocks lifted from About)
   ========================================================================== */

.ctc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.ctc-card {
    padding: 26px 24px;
    border: 1px solid var(--ctc-line);
    border-radius: var(--ctc-radius);
    background: #fff;
    box-shadow: var(--ctc-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ctc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, .3);
    box-shadow: var(--ctc-shadow-lg);
}

.ctc-card-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 13px;
    background: var(--ctc-tint);
    color: var(--ctc-brand);
    font-size: 1.05rem;
}

.ctc-card h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--ctc-ink);
}

.ctc-card p {
    margin: 0;
    font-size: .94rem;
    line-height: 1.6;
    color: var(--ctc-muted);
}

/* ==========================================================================
   VENDOR CTA BAND
   ========================================================================== */

.ctc-cta {
    position: relative;
    overflow: hidden;
    padding: 46px 40px;
    border-radius: 24px;
    background: var(--ctc-grad);
    color: #fff;
}

.ctc-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(620px 260px at -5% 0%, rgba(255, 255, 255, .18), transparent 70%);
    pointer-events: none;
}

.ctc-cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.ctc-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #fff;
}

.ctc-cta p {
    margin: 0;
    max-width: 52ch;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .93);
}

.ctc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ctc-btn-onbrand {
    border-color: transparent;
    background: #fff;
    color: var(--ctc-brand-2);
    box-shadow: 0 10px 24px rgba(18, 41, 63, .22);
}

.ctc-btn-onbrand:hover {
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(18, 41, 63, .28);
}

.ctc-btn-ghost {
    border-color: rgba(255, 255, 255, .55);
    background: transparent;
    color: #fff;
}

.ctc-btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
    box-shadow: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 700px) {
    .ctc-channels {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 1000px) {
    .ctc-channels {
        grid-template-columns: repeat(3, 1fr);
    }

    .ctc-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ctc-form-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 56px;
    }

    .ctc-cta-inner {
        grid-template-columns: 1fr auto;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ctc-shell {
        padding: 0 16px;
    }

    .ctc-section {
        padding: 44px 0;
    }

    .ctc-hero {
        padding: 22px 0 40px;
    }

    .ctc-form {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .ctc-cta {
        padding: 32px 22px;
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ctc-channel,
    .ctc-card,
    .ctc-btn,
    .ctc-channel-value i {
        transition: none !important;
    }

    .ctc-channel:hover,
    .ctc-card:hover,
    .ctc-btn:hover {
        transform: none;
    }
}
