.contact-container {
    width: min(100% - 32px, 1320px);
    margin: 0 auto;
}

.contact-map {
    height: 670px;
    background: linear-gradient(rgba(228, 232, 236, 0.62), rgba(228, 232, 236, 0.62)), url('/assets/home/Rectangle-48-large.webp') center / cover no-repeat;
}

.contact-page {
    background: #fff;
    padding: 34px 0 106px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 86px;
}

.contact-breadcrumb a {
    color: #111;
    text-decoration: none;
}

.contact-breadcrumb a::after {
    content: ">";
    margin-left: 4px;
    color: #111;
}

.contact-breadcrumb span {
    color: #a66e35;
}

.contact-page h1 {
    color: #111;
    text-align: center;
    font-size: 2rem;
    line-height: 1.18;
    font-weight: 500;
    margin: 0 0 76px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.86fr 1.28fr;
    gap: 78px;
    align-items: start;
}

.contact-info {
    padding: 32px 0 0 70px;
}

.contact-info__item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 82px;
}

.contact-info__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #a66e35;
}

.contact-info__icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info__icon--circle {
    border-radius: 50%;
    background: #a66e35;
    color: #fff;
}

.contact-info__icon--circle svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    stroke: none;
}

.contact-info h2 {
    color: #111;
    font-size: 1.8rem;
    line-height: 1.08;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-info p {
    color: #111;
    font-size: 1.4rem;
    line-height: 1.25;
    font-weight: 500;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 56px;
    padding-left: 0;
    margin-top: -4px;
}

.contact-social a {
    color: #a66e35;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
}

.contact-social a[aria-label="X"] {
    font-weight: 400;
}

.contact-social svg {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
}

.contact-form-card {
    background: #fff;
    padding: 46px 48px 56px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
}

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

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

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    color: #111;
    font-size: 17px;
    line-height: 1;
    font-weight: 500;
    margin: 0 0 12px;
}

.form-field label span {
    color: #e31e1e;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #dedede;
    background: #fff;
    color: #1d1d1d;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    border-radius: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
    height: 54px;
    padding: 0 12px;
}

.form-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
    background-position: calc(100% - 20px) 22px, calc(100% - 12px) 22px;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.form-field textarea {
    min-height: 145px;
    resize: vertical;
    padding: 13px 12px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #343434;
    opacity: 0.85;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #a66e35;
    box-shadow: 0 0 0 3px rgba(166, 110, 53, 0.11);
}

.contact-form-card button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 62px;
    margin: 26px auto 0;
    border: 0;
    border-radius: 0;
    background: #a66e35;
    color: #fff;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.18);
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
}

.contact-whatsapp {
    position: fixed;
    right: 44px;
    bottom: 40px;
    z-index: 99;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #16b828;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-whatsapp svg {
    width: 42px;
    height: 42px;
    fill: #fff;
}

@media (max-width: 1200px) {
    .contact-map {
        height: 560px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
        padding: 0;
    }

    .contact-info__item {
        grid-template-columns: 44px 1fr;
        gap: 16px;
        align-items: start;
        margin-bottom: 0;
    }

    .contact-info__icon {
        width: 44px;
        height: 44px;
    }

    .contact-info__icon svg {
        width: 40px;
        height: 40px;
    }

    .contact-info h2,
    .contact-info p {
        font-size: 1.45rem;
    }

    .contact-social {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 10px;
    }
}

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

    .contact-map {
        height: 380px;
    }

    .contact-page {
        padding: 28px 0 72px;
    }

    .contact-breadcrumb {
        margin-bottom: 54px;
    }

    .contact-page h1 {
        margin-bottom: 46px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-info__item {
        grid-template-columns: 46px 1fr;
    }

    .contact-info h2,
    .contact-info p {
        font-size: 1.45rem;
    }

    .contact-social {
        gap: 34px;
        justify-content: flex-start;
    }

    .contact-form-card {
        padding: 34px 24px 42px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-card button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-map {
        height: 300px;
    }

    .contact-breadcrumb {
        margin-bottom: 38px;
    }

    .contact-page h1 {
        font-size: 1.65rem;
    }

    .contact-info h2,
    .contact-info p {
        font-size: 1.2rem;
    }

    .contact-social a {
        font-size: 34px;
    }

    .contact-social svg {
        width: 38px;
        height: 38px;
    }

    .contact-form-card {
        padding: 28px 18px 34px;
    }

    .contact-whatsapp {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
    }

    .contact-whatsapp svg {
        width: 34px;
        height: 34px;
    }
}

/* Production responsive hardening */
.contact-container,
.contact-layout,
.contact-info,
.contact-info__item,
.contact-form-card,
.form-grid {
    box-sizing: border-box;
}

@media (max-width: 980px) {
    .contact-map {
        height: 460px;
    }

    .contact-breadcrumb {
        margin-bottom: 44px;
    }

    .contact-page h1 {
        margin-bottom: 52px;
    }

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

    .contact-social {
        justify-content: flex-start;
    }
}

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

    .contact-map {
        height: 320px;
        background-position: center;
    }

    .contact-page {
        padding-bottom: 58px;
    }

    .contact-page h1 {
        font-size: 1.7rem;
        line-height: 1.28;
    }

    .contact-layout {
        gap: 38px;
    }

    .contact-info {
        gap: 28px;
    }

    .contact-info__item {
        grid-template-columns: 40px 1fr;
        gap: 14px;
    }

    .contact-info__icon {
        width: 40px;
        height: 40px;
    }

    .contact-info__icon svg {
        width: 36px;
        height: 36px;
    }

    .contact-info h2,
    .contact-info p {
        font-size: 1.12rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .contact-social {
        gap: 26px;
        flex-wrap: wrap;
    }

    .contact-social a {
        font-size: 32px;
    }

    .contact-social svg {
        width: 36px;
        height: 36px;
    }

    .contact-form-card {
        padding: 26px 18px 32px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
    }

    .form-field label {
        font-size: 15px;
    }

    .contact-form-card button {
        height: 54px;
        font-size: 1.05rem;
    }
}

@media (max-width: 380px) {
    .contact-container {
        width: min(100% - 24px, 1320px);
    }

    .contact-map {
        height: 260px;
    }

    .contact-page h1 {
        font-size: 1.48rem;
    }

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

    .contact-info__icon {
        margin-bottom: 4px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .contact-container {
        width: min(100% - 48px, 900px);
    }

    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .contact-info {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .contact-form-card {
        padding: 34px 28px;
    }
}
