/* 13Square Contact — loaded via Vite; blade also inlines the same rules as a fallback */

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

.cp {
    background: #f4f5f8;
    width: 100%;
    overflow-x: hidden;
}

.cp-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 72px;
}

@media (min-width: 1024px) {
    .cp-wrap {
        padding: 32px 24px 88px;
    }
}

.cp-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 24px;
    box-shadow: 0 18px 50px -28px rgba(15, 23, 42, 0.18);
}

.cp-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 22px;
}

@media (min-width: 1024px) {
    .cp-hero {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 48px;
        padding: 40px 44px;
    }
}

.cp-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #584cf4;
}

.cp-title {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #1a1a4b;
}

.cp-copy {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
}

.cp-left {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.cp-map-art {
    position: absolute;
    inset: 12% -18% -8% -14%;
    z-index: 0;
    pointer-events: none;
}

.cp-world {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none !important;
    object-fit: contain;
    object-position: center;
    opacity: 0.95;
}

.cp-pin {
    position: absolute;
    left: 36%;
    top: 26%;
    width: 28px;
    height: 28px;
    color: #584cf4;
    filter: drop-shadow(0 6px 10px rgba(88, 76, 244, 0.35));
}

.cp-list {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.cp-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cp-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border-radius: 11px;
    background: #eeecfd;
    color: #584cf4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.cp-ico svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    margin: 0;
}

.cp-row strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a4b;
}

.cp-row a,
.cp-row .cp-detail {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    text-decoration: none;
}

.cp-row a:hover {
    color: #584cf4;
}

.cp-form {
    min-width: 0;
}

.cp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (min-width: 640px) {
    .cp-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.cp-field {
    min-width: 0;
}

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

.cp-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a4b;
}

.cp-req {
    color: #ef4444;
}

.cp-field input[type="text"],
.cp-field input[type="email"],
.cp-field input[type="number"],
.cp-field select,
.cp-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    background: #fff;
    padding: 12px 14px;
    font-size: 14px;
    color: #1a1a4b;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.cp-field textarea {
    min-height: 120px;
    resize: vertical;
}

.cp-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m19 9-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.cp-field input::placeholder,
.cp-field textarea::placeholder {
    color: #9ca3af;
}

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
    outline: none;
    border-color: #584cf4;
    box-shadow: 0 0 0 3px rgba(88, 76, 244, 0.12);
}

.cp .iti {
    width: 100% !important;
    max-width: 100%;
    display: block !important;
}

.cp .iti .iti__tel-input,
.cp .iti input[type="tel"] {
    width: 100% !important;
    max-width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    background: #fff;
    font-size: 14px;
    color: #1a1a4b;
}

.cp-captcha {
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(88, 76, 244, 0.08);
    border: 1px solid rgba(88, 76, 244, 0.12);
}

.cp-captcha label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a4b;
}

.cp-captcha input {
    display: block;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    background: #fff;
    padding: 12px 14px;
    font-size: 14px;
}

.cp-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    background: #584cf4;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 22px;
    box-shadow: 0 10px 22px -8px rgba(88, 76, 244, 0.5);
}

.cp-submit:hover {
    background: #4a3ee8;
}

.cp-submit svg {
    width: 16px;
    height: 16px;
}

.cp-quick {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 640px) {
    .cp-quick {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (min-width: 1024px) {
    .cp-quick {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.cp-q {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    box-shadow: 0 10px 28px -20px rgba(15, 23, 42, 0.2);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cp-q:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -18px rgba(15, 23, 42, 0.22);
}

.cp-q-ico {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.cp-q-ico svg {
    width: 16px;
    height: 16px;
    display: block;
}

.cp-q-ico.email,
.cp-q-ico.call {
    background: #584cf4;
}

.cp-q-ico.wa {
    background: #22c55e;
}

.cp-q-ico.cal {
    background: #f43f5e;
}

.cp-q b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a4b;
}

.cp-q small {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}

.cp-q-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    font-style: normal;
    color: #584cf4;
    word-break: break-word;
}

.cp-q-link svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.cp-loc {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
    align-items: start;
}

@media (min-width: 1024px) {
    .cp-loc {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr) minmax(0, 0.95fr);
        gap: 28px;
        margin-top: 52px;
    }
}

.cp-map {
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8eaf0;
    background: #e5e7eb;
}

.cp-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

@media (min-width: 1024px) {
    .cp-map iframe,
    .cp-office {
        min-height: 320px;
    }

    .cp-map iframe {
        height: 320px;
    }
}

.cp-office {
    min-width: 0;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 18px;
    box-shadow: 0 14px 36px -22px rgba(15, 23, 42, 0.22);
}

.cp-office h3 {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 800;
    color: #1a1a4b;
}

.cp-office-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.cp-office-row svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: #584cf4;
}

.cp-office-row b {
    display: block;
    font-size: 12px;
    color: #1a1a4b;
}

.cp-office-row p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #6b7280;
}

.cp-maps {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 11px 14px;
    border-radius: 11px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1a1a4b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cp-maps:hover {
    border-color: #584cf4;
    color: #584cf4;
}

.cp-maps svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 639px) {
    .cp-map-art {
        inset: 4% -28% auto -22%;
        height: 220px;
        opacity: 0.7;
    }
}
