/* Contact page — scoped under .contact-page */

.contact-page {
    --ct-accent: #2f8ee4;
    --ct-accent-2: #35e7ea;
    --ct-surface: #f8f9fc;
    --ct-border: rgba(15, 20, 40, 0.08);
}

.contact-page .ct-hero > .container,
.contact-page .ct-main > .container {
    max-width: 1200px;
}

/* ── Hero ── */
.ct-hero {
    position: relative;
    padding: 96px 0 64px;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 65%);
    overflow: hidden;
    text-align: center;
}

.ct-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(47, 142, 228, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 142, 228, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.ct-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}

.ct-hero__orb--1 {
    width: 320px;
    height: 320px;
    background: rgba(47, 142, 228, 0.18);
    top: -70px;
    right: 10%;
}

.ct-hero__orb--2 {
    width: 240px;
    height: 240px;
    background: rgba(53, 231, 234, 0.14);
    bottom: -30px;
    left: 8%;
}

.ct-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.ct-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(47, 142, 228, 0.08);
    border: 1px solid rgba(47, 142, 228, 0.16);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ct-accent);
    margin-bottom: 18px;
}

.ct-hero__eyebrow i {
    color: #25d366;
}

.ct-hero h1 {
    font-size: clamp(36px, 4.5vw, 50px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--title-color);
    margin-bottom: 18px;
}

.ct-hero h1 span {
    background: linear-gradient(135deg, #2f8ee4 0%, #35e7ea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ct-hero__desc {
    font-size: 18px;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

/* ── Main layout ── */
.ct-main {
    padding: 0 0 88px;
    background: #fff;
}

.ct-main__grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Contact cards ── */
.ct-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-info__card {
    padding: 24px 22px;
    border-radius: 16px;
    border: 1px solid var(--ct-border);
    background: var(--ct-surface);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ct-info__card:hover {
    box-shadow: 0 8px 24px rgba(47, 142, 228, 0.08);
    transform: translateY(-2px);
}

.ct-info__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(53, 231, 234, 0.15), rgba(47, 142, 228, 0.12));
    color: var(--ct-accent);
    font-size: 20px;
    margin-bottom: 14px;
}

.ct-info__icon--wa {
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.ct-info__card h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--title-color) !important;
    margin-bottom: 6px !important;
}

.ct-info__card p {
    font-size: 14px;
    line-height: 1.55;
    color: #666;
    margin: 0 0 8px;
}

.ct-info__card a {
    font-size: 15px;
    font-weight: 600;
    color: var(--ct-accent);
    text-decoration: none;
    word-break: break-word;
}

.ct-info__card a:hover {
    color: #1a6fc4;
}

.ct-info__demo {
    margin-top: 8px;
    padding: 20px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(47, 142, 228, 0.08), rgba(53, 231, 234, 0.06));
    border: 1px solid rgba(47, 142, 228, 0.14);
}

.ct-info__demo p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 14px;
}

.ct-info__demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, #35e7ea 0%, #2f8ee4 50%, #1a6fc4 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(47, 142, 228, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-info__demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(47, 142, 228, 0.4);
    color: #fff;
}

/* ── Form ── */
.ct-form-wrap {
    padding: 40px 44px;
    border-radius: 20px;
    border: 1px solid var(--ct-border);
    background: #fff;
    box-shadow: 0 8px 32px rgba(15, 20, 40, 0.06);
}

.ct-form__head {
    margin-bottom: 28px;
}

.ct-form__head h2 {
    font-size: clamp(24px, 3vw, 30px) !important;
    font-weight: 800 !important;
    color: var(--title-color) !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.02em !important;
}

.ct-form__head p {
    font-size: 16px;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

.ct-alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.ct-alert--success {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #15803d;
}

.ct-alert--error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.ct-alert ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.ct-form .row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 0;
}

.ct-form__group {
    margin-bottom: 20px;
}

.ct-form__group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.ct-form__group input,
.ct-form__group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--ct-border);
    background: var(--ct-surface);
    font-size: 15px;
    font-family: inherit;
    color: var(--title-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ct-form__group input:focus,
.ct-form__group textarea:focus {
    outline: none;
    border-color: rgba(47, 142, 228, 0.45);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 142, 228, 0.12);
}

.ct-form__group input::placeholder,
.ct-form__group textarea::placeholder {
    color: #999;
}

.ct-form__group textarea {
    min-height: 140px;
    resize: vertical;
}

.ct-form__group--error input,
.ct-form__group--error textarea {
    border-color: rgba(239, 68, 68, 0.5);
}

.ct-form__error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 6px;
}

.ct-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #35e7ea 0%, #2f8ee4 50%, #1a6fc4 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(47, 142, 228, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(47, 142, 228, 0.45);
}

.ct-form__submit i {
    font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .ct-main__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .ct-info__demo {
        grid-column: 1 / -1;
    }
}

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

    .ct-hero h1 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .ct-hero__desc {
        font-size: 16px;
    }

    .ct-main {
        padding-bottom: 64px;
    }

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

    .ct-form-wrap {
        padding: 28px 20px;
    }
}
