
/* ========================================
   KALKULAT.ORG — CONTACT PAGE
======================================== */

.contact-page {
    background: #f7f8fb;
    color: #202b35;
    overflow: hidden;
}

.contact-page * {
    box-sizing: border-box;
}

.contact-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

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

.contact-hero {
    position: relative;
    background: linear-gradient(
        120deg,
        #232124 0%,
        #293039 64%,
        #194953 100%
    );
    padding: 78px 0 88px;
    color: #fff;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -130px;
    top: -140px;
    border: 65px solid rgba(255, 203, 94, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.contact-eyebrow {
    display: inline-block;
    color: #ffcb5e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.contact-hero h1 {
    color: #fff !important;
    font-size: clamp(34px, 4.5vw, 56px) !important;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.7px;
    margin: 0 0 22px;
}

.contact-hero h1 span {
    color: #ffcb5e;
}

.contact-hero p {
    max-width: 550px;
    color: #d1d8e0;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.contact-hero-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    min-width: 290px;
    backdrop-filter: blur(8px);
}

.contact-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255,203,94,0.15);
    color: #ffcb5e;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-hero-box span {
    display: block;
    font-size: 12px;
    color: #cbd5df;
    margin-bottom: 4px;
}

.contact-hero-box a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-hero-box a:hover {
    color: #ffcb5e;
}

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

.contact-content {
    padding: 74px 0 90px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-section-label {
    display: block;
    color: #168b98;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
}

.contact-intro h2,
.contact-bottom-panel h2 {
    color: #202b35;
    font-size: 30px !important;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin: 0 0 12px;
}

.contact-intro p {
    color: #667584;
    font-size: 15px;
    margin: 0;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

.contact-card {
    background: #fff;
    padding: 36px;
    border: 1px solid #e4e9ef;
    border-radius: 22px;
    box-shadow: 0 12px 45px rgba(20,38,56,.05);
    min-width: 0;
}

.contact-card-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 22px;
}

.contact-card-icon {
    width: 57px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e4f5f5;
    color: #148f9b;
    border-radius: 17px;
    font-size: 26px;
}

.contact-card-icon.phone-icon {
    background: #fff4dc;
    color: #b47a13;
}

.contact-card-step {
    display: block;
    color: #8592a0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 4px;
}

.contact-card h3 {
    font-size: 23px !important;
    font-weight: 800;
    color: #202b35;
    margin: 0 !important;
}

.contact-card-description {
    color: #667584;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 30px;
}

/* ========================================
   INPUTS
======================================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.contact-field label,
.contact-field-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.contact-field label span,
.contact-field-label span,
.contact-consent label span {
    color: #db675d;
}

.contact-form input:not([type="checkbox"]):not([type="hidden"]),
.contact-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    border: 1px solid #dce4ec;
    border-radius: 11px;
    background: #fbfcfe;
    padding: 13px 15px;
    font-family: inherit;
    font-size: 14px;
    color: #202b35;
    box-shadow: none;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.contact-form textarea {
    min-height: 145px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa7b5;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
    border-color: #15acc0;
    box-shadow: 0 0 0 4px rgba(21,172,192,.12);
    background: #fff;
}

/* ========================================
   CAPTCHA
======================================== */

.contact-captcha {
    background: #f8fafc;
    border: 1px solid #e6edf3;
    border-radius: 13px;
    padding: 17px;
}

.contact-captcha img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 5px 0 12px;
    border-radius: 7px;
}

.contact-captcha input:not([type="hidden"]) {
    max-width: 100%;
}

/* ========================================
   TERMS, ERRORS, BUTTONS
======================================== */

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: #1699a7;
    cursor: pointer;
}

.contact-consent label {
    color: #536273;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
}

.contact-consent a,
.contact-privacy a {
    color: #148f9b;
    font-weight: 700;
}

.contact-privacy {
    color: #8290a0;
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}

.contact-error {
    color: #c33434;
    font-size: 12px;
    margin: 0;
}

.contact-alert {
    background: #fff0f0;
    color: #a72f2f;
    padding: 12px;
    border-radius: 9px;
    font-size: 13px;
}

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

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 53px;
    margin-top: 4px;
    padding: 13px 20px;
    border: 0;
    border-radius: 11px;
    background: #ffcb5e;
    color: #252525;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.contact-submit:hover {
    background: #f6b93b;
    transform: translateY(-2px);
}

.contact-submit:focus-visible,
.contact-page a:focus-visible {
    outline: 3px solid #159aab;
    outline-offset: 3px;
}

/* ========================================
   PHONE ALTERNATIVE
======================================== */

.contact-alternative {
    display: flex;
    gap: 13px;
    background: #f4f8fa;
    padding: 20px;
    border-radius: 14px;
    margin-top: 28px;
}

.contact-alternative-icon {
    color: #148f9b;
    font-size: 22px;
}

.contact-alternative strong {
    color: #293745;
    font-size: 13px;
}

.contact-alternative p {
    margin: 5px 0 0;
    color: #697989;
    font-size: 12px;
    line-height: 1.7;
}

.contact-alternative a {
    color: #148f9b;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* ========================================
   FACEBOOK PANEL
======================================== */

.contact-bottom-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #eaf4f6;
    border: 1px solid #dcebee;
    border-radius: 20px;
    padding: 32px 38px;
    margin-top: 32px;
}

.contact-bottom-panel h2 {
    font-size: 21px !important;
    margin-bottom: 8px;
}

.contact-bottom-panel p {
    margin: 0;
    color: #697989;
    font-size: 13px;
}

.contact-facebook {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #232124;
    color: white !important;
    padding: 15px 20px;
    border-radius: 11px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background .2s;
}

.contact-facebook:hover {
    background: #125b69;
}

/* ========================================
   SUCCESS PAGE
======================================== */

.contact-success {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 75px 0;
}

.contact-success-card {
    max-width: 590px;
    margin: 0 auto;
    padding: 55px 35px;
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 22px;
    box-shadow: 0 12px 45px rgba(20,38,56,.05);
    text-align: center;
}

.contact-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 23px;
    border-radius: 50%;
    background: #e4f5f5;
    color: #148f9b;
    font-size: 40px;
}

.contact-success-card h1 {
    font-size: 30px !important;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-success-card p {
    color: #667584;
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-success-card .contact-submit {
    max-width: 250px;
    margin: 0 auto;
    text-decoration: none;
}

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

@media (max-width: 900px) {
    .contact-hero-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: 0 auto;
    }

    .contact-bottom-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-facebook {
        flex-shrink: 1;
    }
}

@media (max-width: 600px) {
    .contact-container {
        width: calc(100% - 28px);
    }

    .contact-hero {
        padding: 55px 0 60px;
    }

    .contact-hero h1 {
        font-size: 37px !important;
        letter-spacing: -1px;
    }

    .contact-hero p {
        font-size: 14px;
    }

    .contact-hero-box {
        width: 100%;
        min-width: 0;
    }

    .contact-content {
        padding: 50px 0 60px;
    }

    .contact-intro h2 {
        font-size: 25px !important;
    }

    .contact-card {
        padding: 25px 19px;
        border-radius: 17px;
    }

    .contact-card h3 {
        font-size: 20px !important;
    }

    .contact-card-icon {
        width: 49px;
        height: 49px;
        font-size: 22px;
    }

    .contact-bottom-panel {
        padding: 25px 20px;
    }

    .contact-facebook {
        width: 100%;
        text-align: center;
    }

    .contact-success-card {
        padding: 40px 20px;
    }
}
