:root {
    --contact-green: #255f38;
    --contact-green-dark: #102617;
    --contact-moss: #708c3f;
    --contact-sky: #d9edf0;
    --contact-rust: #b65322;
    --contact-ink: #18221c;
    --contact-muted: #5c6b61;
    --contact-line: rgba(24, 34, 28, 0.12);
    --contact-soft: #f3f6ef;
    --contact-white: #ffffff;
    --contact-shadow: 0 22px 60px rgba(16, 38, 23, 0.15);
}

.contact-page {
    background: var(--contact-soft);
    color: var(--contact-ink);
    min-height: 100vh;
}

.contact-hero {
    position: relative;
    min-height: min(680px, 82vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.contact-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 25, 15, 0.84), rgba(12, 25, 15, 0.58) 48%, rgba(12, 25, 15, 0.18)),
        linear-gradient(0deg, rgba(12, 25, 15, 0.48), transparent 45%);
    z-index: -1;
}

.contact-hero-content {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 120px 0 90px;
    color: var(--contact-white);
}

.contact-eyebrow,
.contact-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--contact-rust);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-eyebrow {
    color: #f6d49a;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 9px 14px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.contact-eyebrow svg,
.contact-section-kicker svg {
    width: 16px;
    height: 16px;
}

.contact-hero h1 {
    max-width: 760px;
    margin: 22px 0 18px;
    font-size: clamp(2.4rem, 7vw, 5.6rem);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.contact-primary-action,
.contact-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-primary-action {
    background: #ffffff;
    color: var(--contact-green-dark);
}

.contact-secondary-action {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.contact-primary-action:hover,
.contact-secondary-action:hover {
    transform: translateY(-2px);
}

.contact-primary-action svg,
.contact-secondary-action svg {
    width: 18px;
    height: 18px;
}

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

.contact-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: -44px;
    position: relative;
    z-index: 2;
}

.contact-summary article {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 18px;
    background: var(--contact-white);
    border: 1px solid var(--contact-line);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(16, 38, 23, 0.10);
}

.contact-summary article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 8px;
    color: var(--contact-green);
    background: var(--contact-sky);
}

.contact-summary svg {
    width: 20px;
    height: 20px;
}

.contact-summary p {
    margin: 0 0 5px;
    color: var(--contact-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-summary strong {
    display: block;
    color: var(--contact-ink);
    font-size: 0.95rem;
    line-height: 1.35;
}

.contact-workspace {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 22px;
    margin-top: 44px;
    align-items: start;
}

.contact-panel {
    background: var(--contact-white);
    border: 1px solid var(--contact-line);
    border-radius: 8px;
    box-shadow: var(--contact-shadow);
}

.contact-panel-info {
    padding: 34px;
}

.contact-panel-info h2,
.form-heading h2 {
    margin: 8px 0 12px;
    color: var(--contact-green-dark);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.05;
    font-weight: 950;
    text-transform: uppercase;
}

.contact-panel-info > p,
.form-heading p {
    margin: 0;
    color: var(--contact-muted);
    line-height: 1.7;
}

.contact-channel-list {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.contact-channel {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: inherit;
    text-decoration: none;
    background: #f8faf6;
    border: 1px solid var(--contact-line);
    border-radius: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-channel:hover {
    transform: translateX(4px);
    border-color: rgba(37, 95, 56, 0.35);
    background: #ffffff;
}

.channel-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.channel-icon.whatsapp {
    color: #128c4a;
    background: #e2f6e9;
}

.channel-icon.email {
    color: var(--contact-green);
    background: var(--contact-sky);
}

.channel-icon.instagram {
    color: #b8336a;
    background: #f8e0ec;
}

.contact-channel strong,
.contact-channel small {
    display: block;
    line-height: 1.35;
}

.contact-channel strong {
    font-size: 0.95rem;
}

.contact-channel small {
    color: var(--contact-muted);
    font-size: 0.82rem;
}

.contact-note {
    display: flex;
    gap: 13px;
    margin-top: 26px;
    padding: 18px;
    color: #ffffff;
    background: var(--contact-green-dark);
    border-radius: 8px;
}

.contact-note svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: #f6d49a;
}

.contact-note p {
    margin: 0;
    line-height: 1.6;
}

.contact-form-panel {
    padding: 30px;
}

.form-heading {
    margin-bottom: 22px;
}

.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-weight: 800;
}

.contact-alert svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.contact-alert-success {
    color: #23643b;
    background: #e5f5eb;
    border: 1px solid #b6dec4;
}

.contact-alert-error {
    color: #8d1f12;
    background: #fff0ec;
    border: 1px solid #efc1b6;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-field {
    display: grid;
    gap: 7px;
}

.contact-field span {
    color: var(--contact-green-dark);
    font-size: 0.8rem;
    font-weight: 950;
    text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d9e1d5;
    border-radius: 8px;
    background: #fbfcfa;
    color: var(--contact-ink);
    padding: 12px 13px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field textarea {
    min-height: 138px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--contact-green);
    box-shadow: 0 0 0 4px rgba(37, 95, 56, 0.12);
    background: #ffffff;
}

.field-hint {
    margin: -7px 0 0;
    color: var(--contact-muted);
    font-size: 0.8rem;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--contact-green-dark);
    font-weight: 950;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    background: var(--contact-green);
    box-shadow: 0 14px 28px rgba(16, 38, 23, 0.20);
}

.contact-submit:disabled {
    cursor: wait;
    opacity: 0.78;
}

.submit-text,
.submit-loading {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.submit-text svg {
    width: 17px;
    height: 17px;
}

.spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: contact-spin 0.75s linear infinite;
}

@keyframes contact-spin {
    to {
        transform: rotate(360deg);
    }
}

.form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.82rem;
    text-align: center;
}

.form-privacy svg {
    width: 14px;
    height: 14px;
}

.hidden {
    display: none !important;
}

@media (max-width: 920px) {
    .contact-summary {
        grid-template-columns: 1fr;
    }

    .contact-workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        min-height: 620px;
    }

    .contact-hero-content {
        width: min(100% - 28px, 1160px);
        padding: 105px 0 68px;
    }

    .contact-hero-actions,
    .contact-primary-action,
    .contact-secondary-action {
        width: 100%;
    }

    .contact-main {
        width: min(100% - 24px, 1160px);
        padding-bottom: 46px;
    }

    .contact-summary {
        margin-top: -28px;
    }

    .contact-panel-info,
    .contact-form-panel {
        padding: 22px;
    }

    .form-row-two {
        grid-template-columns: 1fr;
    }
}
