@font-face {
    font-family: "Inter";
    src: url("/climcat_app/static/typography/Comfortaa,Inter,Sulphur_Point/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.climcat-contact-page {
    --climcat-green: #0f6639;
    --climcat-green-dark: #0d5f35;
    --climcat-orange: #ff6330;
    --climcat-ink: #232428;
    --climcat-muted: #666666;
    --climcat-surface: #f4f3ef;
    background: #ffffff;
    color: var(--climcat-ink);
    font-family: "Inter", Arial, sans-serif;
}

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

.climcat-contact-hero {
    position: relative;
    overflow: hidden;
    background: var(--climcat-green-dark);
    color: #ffffff;
    padding: 96px 0 112px;
    text-align: center;
}

.climcat-contact-hero__pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.65;
}

.climcat-contact-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.climcat-contact-hero__icon {
    display: grid;
    width: 78px;
    height: 78px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 18px;
    background: var(--climcat-orange);
    box-shadow: 0 22px 34px rgba(255, 99, 48, 0.28);
}

.climcat-contact-hero__icon span {
    width: 32px;
    height: 24px;
    border: 4px solid #ffffff;
    border-radius: 7px;
    position: relative;
}

.climcat-contact-hero__icon span::before,
.climcat-contact-hero__icon span::after {
    content: "";
    position: absolute;
    top: 5px;
    width: 18px;
    height: 4px;
    background: #ffffff;
}

.climcat-contact-hero__icon span::before {
    left: -2px;
    transform: rotate(32deg);
}

.climcat-contact-hero__icon span::after {
    right: -2px;
    transform: rotate(-32deg);
}

.climcat-contact-hero h1 {
    margin: 0;
    font-size: clamp(48px, 5vw, 78px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.climcat-contact-hero p {
    max-width: 760px;
    margin: 26px auto 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.45;
}

.climcat-contact-main {
    background: var(--climcat-surface);
    padding: 92px 0 104px;
}

.climcat-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 46px;
    align-items: start;
}

.climcat-contact-info {
    padding-top: 28px;
}

.climcat-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--climcat-orange);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.climcat-contact-info h2,
.climcat-contact-card h2 {
    margin: 28px 0 0;
    color: var(--climcat-ink);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
}

.climcat-contact-info p {
    max-width: 560px;
    margin: 22px 0 0;
    color: var(--climcat-muted);
    font-size: 20px;
    line-height: 1.65;
}

.climcat-contact-info__mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--climcat-green);
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(20, 20, 20, 0.06);
}

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

.climcat-contact-card {
    padding: 44px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(20, 20, 20, 0.09);
}

.climcat-contact-card h2 {
    margin-top: 0;
    font-size: 32px;
}

.climcat-contact-form {
    margin-top: 28px;
}

.climcat-contact-form__field {
    margin-bottom: 20px;
}

.climcat-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--climcat-ink);
    font-size: 15px;
    font-weight: 700;
}

.climcat-contact-form input,
.climcat-contact-form textarea {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    background: #ffffff;
    color: var(--climcat-ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.climcat-contact-form input {
    min-height: 54px;
    padding: 0 18px;
}

.climcat-contact-form textarea {
    min-height: 142px;
    padding: 16px 18px;
    resize: vertical;
}

.climcat-contact-form input:focus,
.climcat-contact-form textarea:focus {
    border-color: var(--climcat-orange);
    box-shadow: 0 0 0 4px rgba(255, 99, 48, 0.16);
}

.climcat-contact-form__message {
    min-height: 22px;
    margin: 8px 0 18px;
    color: #c0392b;
    font-size: 14px;
    font-weight: 700;
}

.climcat-contact-form__message.is-success {
    color: var(--climcat-green);
}

.climcat-contact-form__button {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 14px;
    background: var(--climcat-orange);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(255, 99, 48, 0.24);
}

.climcat-contact-form__button:disabled {
    cursor: wait;
    opacity: 0.72;
}

@media (max-width: 900px) {
    .climcat-contact-container {
        width: min(100% - 28px, 640px);
    }

    .climcat-contact-hero {
        padding: 72px 0 82px;
    }

    .climcat-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .climcat-contact-main {
        padding: 60px 0 72px;
    }

    .climcat-contact-card {
        padding: 28px;
        border-radius: 20px;
    }

    .climcat-contact-info h2,
    .climcat-contact-card h2 {
        font-size: 30px;
    }

    .climcat-contact-info p,
    .climcat-contact-hero p {
        font-size: 18px;
    }
}
