

/* ══════════════════════════════════════
   CONTACT ANIMATIONS
══════════════════════════════════════ */
@keyframes ct-rise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ct-success-pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    65% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

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

@keyframes ct-pulse-ring {
    0% {
        transform: scale(0.85);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.12;
    }

    100% {
        transform: scale(0.85);
        opacity: 0.6;
    }
}

@keyframes ct-dot-pop {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--dx), var(--dy)) scale(0);
        opacity: 0;
    }
}

/* ══════════════════════════════════════
   ROOT TOKENS
══════════════════════════════════════ */
.pg-contact {
    --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-family: var(--sans);
    color: var(--ink2);
    line-height: 1.6;
}

.pg-contact a {
    text-decoration: none;
    color: inherit;
}

.pg-contact img {
    max-width: 100%;
    display: block;
}

.ct-mx {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.ct-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 24px 72px;
    background: var(--white);
    border-bottom: 1px solid var(--mist);
    text-align: center;
}

.ct-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 50% at 50% -5%, rgba(var(--blue-rgb), .08), transparent 68%);
}

.ct-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(226, 232, 240, .45) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, .45) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000 15%, transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom, #000 15%, transparent 70%);
}

.ct-hero .ct-mx {
    position: relative;
    z-index: 2;
}

.ct-h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.ct-h1 em {
    color: var(--blue);
    font-style: normal;
}

.ct-hero-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ══════════════════════════════════════
   MAIN SECTION
══════════════════════════════════════ */
.ct-main {
    padding: 64px 0px 80px;
    background: var(--snow);
}

.ct-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.ct-card {
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-bottom: 16px;
    animation: ct-rise .5s cubic-bezier(.22, 1, .36, 1) both;
}

.ct-card:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════
   FORM CARD
══════════════════════════════════════ */
.ct-form-card {
    padding: 0;
}

.ct-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 28px 0;
}

.ct-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--blue-l);
    color: var(--blue);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-card-head .ct-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 3px;
}

.ct-card-sub {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate);
    margin: 0;
}

.ct-field {
    padding: 0 28px;
    margin-top: 20px;
}

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

.ct-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--snow);
    border: 2px solid var(--mist);
    border-radius: 12px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
    transition: .2s;
    outline: none;
    resize: none;
}

.ct-input::placeholder {
    color: var(--silver);
}

.ct-input:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .08);
}

.ct-textarea {
    min-height: 120px;
    line-height: 1.6;
}

.ct-submit-btn {
    margin: 20px 28px 28px;
    width: calc(100% - 56px);
}

/* ══════════════════════════════════════
   SUCCESS STATE
══════════════════════════════════════ */
.ct-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 52px 32px 44px;
    min-height: 360px;
    justify-content: center;
}

.ct-success-state.ct-visible {
    display: flex;
    animation: ct-rise .45s cubic-bezier(.22, 1, .36, 1) both;
}

.ct-success-icon-wrap {
    position: relative;
    width: 84px;
    height: 84px;
    margin-bottom: 26px;
}

.ct-success-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(5, 150, 105, .25);
    animation: ct-pulse-ring 2.4s ease-in-out infinite;
}

.ct-success-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 36px rgba(5, 150, 105, .35);
    animation: ct-success-pop .5s cubic-bezier(.22, 1, .36, 1) .08s both;
}

.ct-success-circle svg {
    width: 36px;
    height: 36px;
}

.ct-check-path {
    animation: ct-check-draw .45s ease .38s forwards;
}

.ct-success-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ct-success-dots span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: ct-dot-pop .6s ease .5s both;
}

.ct-success-dots span:nth-child(1) {
    background: var(--amber);
    --dx: -38px;
    --dy: -28px;
}

.ct-success-dots span:nth-child(2) {
    background: var(--blue);
    --dx: 36px;
    --dy: -32px;
}

.ct-success-dots span:nth-child(3) {
    background: var(--green);
    --dx: -40px;
    --dy: 26px;
}

.ct-success-dots span:nth-child(4) {
    background: var(--purple);
    --dx: 38px;
    --dy: 24px;
}

.ct-success-dots span:nth-child(5) {
    background: var(--purple);
    --dx: 0px;
    --dy: -44px;
}

.ct-success-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.5px;
    margin: 0 0 10px;
}

.ct-success-msg {
    font-size: 16px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.75;
    margin: 0 0 24px;
    max-width: 300px;
}

.ct-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--green-l);
    border: 1px solid rgba(5, 150, 105, .18);
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.ct-success-reset {
    background: none;
    border: 2px solid var(--mist);
    color: var(--slate);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ct-success-reset:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-l);
}

/* ══════════════════════════════════════
   ERROR STATE
══════════════════════════════════════ */
.ct-error-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 52px 32px 44px;
    min-height: 360px;
    justify-content: center;
}

.ct-error-state.ct-visible {
    display: flex;
    animation: ct-rise .45s cubic-bezier(.22, 1, .36, 1) both;
}

.ct-error-icon-wrap {
    position: relative;
    width: 84px;
    height: 84px;
    margin-bottom: 26px;
}

.ct-error-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(220, 38, 38, .22);
    animation: ct-pulse-ring 2.4s ease-in-out infinite;
}

.ct-error-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--red));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 36px rgba(220, 38, 38, .3);
    animation: ct-success-pop .5s cubic-bezier(.22, 1, .36, 1) .08s both;
}

.ct-error-circle svg {
    width: 36px;
    height: 36px;
}

.ct-x-path {
    animation: ct-x-draw .4s ease .38s forwards;
}

.ct-error-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.5px;
    margin: 0 0 10px;
}

.ct-error-msg {
    font-size: 16px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.75;
    margin: 0 0 24px;
    max-width: 300px;
}

.ct-error-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--red-l);
    border: 1px solid rgba(220, 38, 38, .16);
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.ct-error-reset {
    background: none;
    border: 2px solid var(--mist);
    color: var(--slate);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ct-error-reset:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-l);
}

/* ══════════════════════════════════════
   SOCIAL CARD
══════════════════════════════════════ */
.ct-social-card {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ct-social-left {
    flex-shrink: 0;
}

.ct-social-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--ink2);
    margin: 0 0 2px;
}

.ct-social-sub {
    font-size: 15px;
    font-weight: 600;
    color: var(--silver);
    margin: 0;
    font-weight: 400;
}

.ct-socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.ct-social {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--white) !important;
    transition: .22s;
    flex-shrink: 0;
}

.ct-social:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.ct-social--linkedin {
    background: #0a66c2;
}

.ct-social--facebook {
    background: #1877f2;
}

.ct-social--twitter {
    background: #000;
}

.ct-social--youtube {
    background: var(--red);
}

/* ══════════════════════════════════════
   WHATSAPP SPLIT
══════════════════════════════════════ */
.ct-wa-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.ct-wa-half {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    border-radius: var(--r-xl);
    background: var(--snow);
    border: 2px solid var(--mist);
    text-decoration: none;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}

.ct-wa-half::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .25s;
}

.ct-wa-half--sales {
    background: linear-gradient(140deg, var(--white), var(--green-l));
}

.ct-wa-half--sales::before {
    background: linear-gradient(140deg, var(--green-xl), var(--green-xl));
}

.ct-wa-half--mgmt {
    background: linear-gradient(140deg, var(--white), var(--green-l));
}

.ct-wa-half--mgmt::before {
    background: linear-gradient(140deg, var(--green-xl), var(--green-xl));
}

.ct-wa-half:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, .22);
}

.ct-wa-half:hover::before {
    opacity: 1;
}

.ct-wa-half-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--wa);
    color: var(--white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.ct-wa-half-role {
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--wa-d);
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
}

.ct-wa-half-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink2);
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    line-height: 1.3;
    word-break: break-all;
}

.ct-wa-half-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wa-d);
    position: relative;
    z-index: 1;
    transition: gap .2s;
}

.ct-wa-half:hover .ct-wa-half-cta {
    gap: 8px;
}

/* ══════════════════════════════════════
   INFO CARDS
══════════════════════════════════════ */
.ct-info-card {
    padding: 22px;
}

.ct-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 12px;
}

.ct-info-icon--blue {
    background: var(--blue-l);
    color: var(--blue);
}

.ct-info-icon--green {
    background: var(--green-l);
    color: var(--green);
}

.ct-info-icon--slate {
    background: var(--snow);
    color: var(--slate);
    border: 1px solid var(--mist);
}

.ct-card .ct-info-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 6px;
}

.ct-info-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════
   BROWSING INFO CARD
══════════════════════════════════════ */
.ct-browse-card {
    padding: 22px;
}

.ct-browse-table {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.ct-browse-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--mist);
    gap: 12px;
}

.ct-browse-row:last-child {
    border-bottom: none;
}

.ct-browse-key {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    flex-shrink: 0;
    min-width: 80px;
}

.ct-browse-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-align: end;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ct-browse-code {
    font-size: 13px;
    font-weight: 700;
    color: var(--silver);
    font-weight: 700;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }

    .ct-col-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .ct-card {
        margin-bottom: 0;
    }

    .ct-wa-split {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .ct-hero {
        padding: 56px 20px 48px;
    }

    .ct-card-icon {
        display: none !important;
    }

    .ct-h1 {
        letter-spacing: -1.5px;
    }

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

    .ct-field {
        padding: 0 20px;
    }

    .ct-submit-btn {
        margin: 20px 20px 24px;
        width: calc(100% - 40px);
    }

    .ct-card-head {
        padding: 22px 20px 0;
    }

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

    .ct-wa-half {
        display: grid;
        grid-template-columns: auto 1fr;
        align-content: center;
        column-gap: 14px;
        padding: 16px;
    }

    .ct-wa-half-icon {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .ct-wa-half-role {
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .ct-wa-half-num {
        margin-bottom: 0;
        line-height: 1.2;
    }

    .ct-wa-half-cta {
        display: none;
    }

    .ct-success-state {
        padding: 40px 22px 36px;
        min-height: 300px;
    }

    .ct-error-state {
        padding: 40px 22px 36px;
        min-height: 300px;
    }

    .ct-social-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}