/* ============================================================
   Contact Page — Reference Design Replica
   Matches screenshot: Hero + Form+ContactCards + TrustBar
   Brand: red #e84954 / #ef4444 · green #2bb68a / #10b981
   ============================================================ */

.contact-page {
    background: #fff;
    color: #1a202c;
    overflow-x: clip;
}
/* Disable global blueprint grid — multi-layer defense */
body.contact-page::before,
.contact-page::before,
body[class*="contact"]::before {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ======================== SHARED: Label with red underline ======================== */
.ct-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e53e3e;
    position: relative;
}
.ct-label::after {
    content: '';
    width: 28px; height: 2.5px;
    background: #e53e3e;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ======================== HERO ======================== */
.ct-hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 110px 40px 70px;
    overflow-x: clip;
}

.ct-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* --- Hero Left Copy --- */
.ct-hero-copy {
    padding-right: 12px;
}

.ct-h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    color: #111827;
    margin: 16px 0 18px;
    letter-spacing: -0.02em;
}

.ct-accent {
    color: #ef4444;
}

.ct-sub {
    font-size: 17px;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 32px;
    max-width: 520px;
}

.ct-sub strong { color: #1a202c; }

/* Stat badges row (3 items) */
.ct-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.ct-stat-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px 14px 8px;
    border-radius: 14px;
    background: #f8fafc;
    min-width: 130px;
}

.ct-stat-ico {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ct-stat-ico svg {
    width: 22px; height: 22px;
}

.ct-stat--red .ct-stat-ico { background: #fef2f2; color: #dc2626; }
.ct-stat--green .ct-stat-ico { background: #ecfdf5; color: #059669; }
.ct-stat--red-light .ct-stat-ico { background: #fff1f2; color: #e11d48; }

.ct-stat-body b {
    display: block;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
    color: #111827;
    font-family: 'Space Grotesk', sans-serif;
}
.ct-stat-body span {
    font-size: 12px;
    line-height: 1.35;
    color: #64748b;
    display: block;
    margin-top: 1px;
}

/* Hero buttons */
.ct-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-round {
    border-radius: 999px !important;
}

.btn-outline-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-outline-wa:hover {
    border-color: #25d366;
    color: #25d366;
    box-shadow: 0 4px 16px rgba(37,211,102,.15);
}

/* --- Hero Right Image --- */
.ct-hero-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-hero-img img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ======================== MAIN CONTENT: Form + Contact Cards ======================== */
.ct-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 40px 80px;
    overflow-x: clip;
}

.ct-main-inner {
    display: grid;
    grid-template-columns: 58% 1fr;
    gap: 36px;
    background: #fff;
    border: 1px solid #f1f3f5;
    border-radius: 24px;
    padding: 48px 44px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.03);
}

/* Form head shared */
.ct-form-head {
    margin-bottom: 28px;
}
.ct-form-sub {
    margin-top: 8px;
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.55;
}

/* ---- FORM FIELDS ---- */
.ct-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
}
.ct-field abbr {
    color: #e53e3e;
    text-decoration: none;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    font-size: 14.5px;
    color: #1a202c;
    background: #fafbfc;
    transition: border-color .2s ease, box-shadow .2s ease;
    outline: none;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: #e84954;
    box-shadow: 0 0 0 3px rgba(232,73,84,.1);
    background: #fff;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #94a3b8;
}
.ct-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}
.ct-field textarea {
    resize: vertical;
    min-height: 90px;
}

.ct-fg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.ct-field {
    margin-bottom: 16px;
}

/* Upload area */
.ct-upload {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
    margin-bottom: 22px;
}
.ct-upload:hover {
    border-color: #e84954;
    background: #fef2f2;
}
.ct-upload svg {
    width: 28px; height: 28px;
    flex-shrink: 0;
    color: #94a3b8;
}
.ct-upload b {
    display: block;
    font-size: 14px;
    color: #334155;
}
.ct-upload span {
    font-size: 12.5px;
    color: #94a3b8;
}
.ct-upload-note {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    margin-bottom: 22px;
}
.ct-upload-note svg {
    width: 28px; height: 28px;
    flex-shrink: 0;
    color: #e84954;
}
.ct-upload-note b {
    display: block;
    font-size: 14px;
    color: #334155;
}
.ct-upload-note span {
    font-size: 12.5px;
    color: #94a3b8;
}
.ct-upload-note a {
    color: #e84954;
    font-weight: 600;
    text-decoration: none;
}
.ct-upload-note a:hover {
    text-decoration: underline;
}

/* Submit row */
.ct-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.ct-submit-row .btn-primary {
    padding: 14px 34px;
    font-size: 15px;
    font-weight: 600;
}
.ct-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
}
.ct-privacy svg {
    flex-shrink: 0;
}

/* Success state */
.ct-success-box {
    text-align: center;
    padding: 48px 30px;
}
.ct-success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.ct-success-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    margin-bottom: 8px;
    color: #111827;
}
.ct-fallback {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 18px 0 14px;
}
.ct-prefill {
    width: 100%;
    min-height: 130px;
    resize: vertical;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    margin-bottom: 16px;
}

/* ---- CONTACT CARDS (right column) ---- */
.ct-contact-list {
    padding-left: 8px;
}

.ct-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 16px;
    transition: background .25s ease;
    /* subtle divider between cards except last */
    border-bottom: 1px solid #f1f3f5;
}
.ct-contact-card:last-child {
    border-bottom: none;
}
.ct-contact-card:hover {
    background: #fafbfc;
}

/* Contact card icon circle */
.ct-cc-ico {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ct-cc-ico svg {
    width: 22px; height: 22px;
}

.ct-cc-red { background: #fef2f2; color: #dc2626; }
.ct-cc-green { background: #ecfdf5; color: #059669; }
.ct-cc-pink { background: #fdf2f8; color: #db2777; }
.ct-cc-blue { background: #eff6ff; color: #2563eb; }

.ct-cc-link { color: #2563eb; text-decoration: none; transition: color .2s ease; }
.ct-cc-link:hover { color: #1d4ed8; text-decoration: underline; }

.ct-cc-body b {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
}
.ct-cc-val {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
    margin-bottom: 2px;
}
.ct-cc-sub {
    display: block;
    font-size: 12.5px;
    color: #94a3b8;
}

/* ======================== TRUST BAR ======================== */
.ct-trust {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px 90px;
    overflow-x: clip;
}

.ct-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ct-trust-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f1f3f5;
    transition: transform .3s cubic-bezier(.22,1,.36,1),
                box-shadow .3s cubic-bezier(.22,1,.36,1);
}
.ct-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

.ct-tc-ico {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ct-tc-ico svg {
    width: 26px; height: 26px;
}

.ct-tc-teal { background: #ecfeff; color: #0d9488; }
.ct-tc-red { background: #fef2f2; color: #dc2626; }

.ct-trust-card b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
}
.ct-trust-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ======================== BUTTONS (global contact overrides) ======================== */
.ct-form-block .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    font-family: inherit;
}
.ct-form-block .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239,68,68,.35);
}

.ct-success-box .btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}
.ct-success-box .btn-outline:hover {
    border-color: #e84954;
    color: #e84954;
}

/* ======================== RESPONSIVE ======================== */

@media (max-width: 1080px) {
    .ct-hero { padding: 90px 28px 55px; }
    .ct-h1 { font-size: 42px; }
    .ct-stats-row { gap: 14px; }
    .ct-stat-badge { padding: 10px 14px 10px 6px; min-width: 110px; }
    .ct-stat-body b { font-size: 18px; }

    .ct-main-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 38px 32px;
    }

    .ct-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .ct-hero { padding: 92px 22px 45px; }
    .ct-hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ct-hero-copy { padding-right: 0; }
    .ct-h1 { font-size: 36px; }

    .ct-stats-row {
        flex-wrap: wrap;
        gap: 12px;
    }
    .ct-stat-badge {
        flex: 1;
        min-width: 100px;
    }

    .ct-main-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 28px 22px;
    }
    .ct-contact-list {
        padding-left: 0;
        margin-top: 12px;
        padding-top: 24px;
        border-top: 1px solid #f1f3f5;
    }
    .ct-fg-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ct-submit-row {
        flex-direction: column;
        align-items: stretch;
    }
    .ct-submit-row .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .ct-trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .ct-trust-card { padding: 24px 16px; }
}

@media (max-width: 480px) {
    .ct-hero { padding: 86px 16px 36px; }
    .ct-h1 { font-size: 30px; }
    .ct-sub { font-size: 15.5px; }

    .ct-stat-badge {
        flex-direction: column;
        text-align: center;
        padding: 14px 10px;
    }
    .ct-stat-ico { width: 40px; height: 40px; }
    .ct-stat-ico svg { width: 19px; height: 19px; }

    .ct-hero-btns {
        flex-direction: column;
    }
    .btn-outline-wa, .ct-hero-btns .btn-primary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .ct-main { padding: 16px 16px 60px; }
    .ct-main-inner {
        padding: 22px 16px;
        border-radius: 18px;
    }
    .ct-field input,
    .ct-field select,
    .ct-field textarea {
        padding: 11px 14px;
        font-size: 14px;
    }

    .ct-contact-card {
        padding: 16px 14px;
        border-radius: 12px;
    }
    .ct-cc-ico { width: 42px; height: 42px; border-radius: 12px; }
    .ct-cc-ico svg { width: 20px; height: 20px; }

    .ct-trust { padding: 0 16px 64px; }
    .ct-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ======================== REDUCED MOTION ======================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .ct-trust-card:hover,
    .ct-contact-card:hover {
        transform: none;
    }
}
