.contact {
    background-color: var(--color-white);
    padding: clamp(2rem, 4vw, 4rem) 0;
    border-top: clamp(1px, 0.11vw, 1.7px) solid var(--color-beige);
    position: relative;
}

.contact-container {
    max-width: min(1425px, 95%);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 2.5vw, 2.5rem);
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: min(100%, 500px);
    max-width: 50%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(1.5rem, 3.438vw, 3.438rem);
    font-weight: 500;
    line-height: 1.223;
    margin: 0 0 clamp(1.5rem, 4vw, 4rem) 0;
    text-align: left;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    flex-shrink: 0;
}

.contact-title-black {
    color: #000000;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
}

.contact-title-beige {
    color: #D9CAAB;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
}

.contact::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: clamp(1px, 0.11vw, 1.7px);
    background-color: var(--color-beige);
    transform: translateX(-50%);
    z-index: 1;
    margin-left: clamp(-0.5px, -0.053vw, -0.85px);
    display: block;
}

.contact-narrow::after {
    display: none;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
    position: relative;
    flex-wrap: wrap;
    flex-direction: row;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.25vw, 1.25rem);
    padding-right: clamp(0rem, 2.5vw, 2.5rem);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 1.875vw, 1.875rem);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    padding: clamp(0.75rem, 0.938vw, 0.938rem) 0;
    border: none;
    border-bottom: clamp(1px, 0.11vw, 1.7px) solid var(--color-beige);
    border-radius: 0;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 400;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
    background-color: transparent;
    color: #B8A88A;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: var(--color-black);
    color: #B8A88A;
}

.form-input::placeholder {
    color: #B8A88A;
    font-weight: 400;
}

.form-textarea {
    min-height: clamp(5rem, 7.5vw, 7.5rem);
    resize: vertical;
}

.contact-btn {
    background-color: #D9CAAB;
    color: var(--color-white);
    border: none;
    border-radius: clamp(0.5rem, 0.75vw, 0.75rem);
    padding: clamp(1.25rem, 1.75vw, 1.75rem) clamp(2rem, 3.75vw, 3.75rem);
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 500;
    width: 100%;
    margin-top: clamp(0.5rem, 0.625vw, 0.625rem);
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font-primary);
}

.contact-btn {
    animation: buttonPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background-color: #c5b899;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(217, 202, 171, 0.4);
    animation: none;
}

.contact-btn:active {
    transform: translateY(0) scale(0.98);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(217, 202, 171, 0.4);
    }
    50% {
        box-shadow: 0 0 0 clamp(0.25rem, 0.5vw, 0.5rem) rgba(217, 202, 171, 0);
    }
}

.contact-privacy {
    font-size: clamp(0.75rem, 0.875vw, 0.875rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    margin-top: clamp(0.75rem, 1vw, 1rem);
    line-height: 1.5;
    font-family: var(--font-primary);
}

.privacy-link {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--color-beige);
}

.contact-info {
    flex: 1;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    height: fit-content;
    padding-left: 0;
    padding-top: 0;
    margin-left: clamp(0rem, 3.75vw, 3.75rem);
    margin-top: clamp(2rem, 4vw, 4rem);
    box-sizing: border-box;
    align-self: flex-start;
    min-width: min(100%, 500px);
    max-width: 50%;
    overflow: hidden;
}

.contact-info-title {
    font-size: clamp(1.5rem, 1.875vw, 1.875rem);
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Commissioner', sans-serif;
    color: var(--color-black);
    margin: 0 0 clamp(1.5rem, 2vw, 2rem) 0;
}

.contact-main-info {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2vw, 2rem);
    margin: 0 0 clamp(1.5rem, 2vw, 2rem) 0;
}

.contact-location,
.contact-phone-main {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2vw, 2rem);
    margin: 0;
    flex-wrap: wrap;
}

.location-icon,
.phone-icon {
    width: clamp(1.25rem, 1.563vw, 1.563rem);
    height: clamp(1.25rem, 1.563vw, 1.563rem);
    flex-shrink: 0;
}

.location-icon path,
.phone-icon path {
    fill: rgb(212, 200, 160);
}

.location-text,
.phone-text {
    font-family: "Commissioner", sans-serif;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 500;
    line-height: 0.9em;
    color: rgb(84, 89, 95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-text:hover {
    color: var(--color-beige);
}

.contact-divider {
    width: 100%;
    height: 1px;
    background-color: rgb(212, 200, 160);
    margin: 0 0 clamp(1.5rem, 2vw, 2rem) 0;
}

.contact-cooperation {
    font-family: "Commissioner", sans-serif;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 500;
    line-height: 0.9em;
    color: rgb(84, 89, 95);
    margin: 0 0 clamp(1.5rem, 2vw, 2rem) 0;
}

.contact-social-section {
    margin-top: clamp(1.5rem, 2vw, 2rem);
}

.social-section-title {
    font-size: clamp(1rem, 1.125vw, 1.125rem);
    font-weight: 400;
    color: rgb(84, 89, 95);
    font-family: 'Commissioner', sans-serif;
    margin: 0 0 clamp(1.5rem, 2vw, 2rem) 0;
}

.social-icons-grid {
    display: flex;
    gap: clamp(1.5rem, 2vw, 2rem);
    flex-wrap: wrap;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(2rem, 2.5vw, 2.5rem);
    height: clamp(2rem, 2.5vw, 2.5rem);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.social-icon-img {
    width: clamp(2rem, 2.5vw, 2.5rem);
    height: clamp(2rem, 2.5vw, 2.5rem);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2vw, 2rem);
    margin: 0;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2vw, 2rem);
    margin: 0;
}

.detail-label {
    font-size: clamp(0.75rem, 0.875vw, 0.875rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    font-family: var(--font-primary);
}

.contact-email-wrapper {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 0.75vw, 0.75rem);
}

.email-icon {
    width: clamp(1.25rem, 1.563vw, 1.563rem);
    height: clamp(1.25rem, 1.563vw, 1.563rem);
    flex-shrink: 0;
}

.detail-value {
    font-family: "Commissioner", sans-serif;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: 500;
    line-height: 0.9em;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-value:hover {
    color: var(--color-beige);
}

.contact-messengers {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2vw, 2rem);
    flex-wrap: wrap;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(2rem, 2.5vw, 2.5rem);
    height: clamp(2rem, 2.5vw, 2.5rem);
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.messenger-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.messenger-icon {
    width: clamp(2rem, 2.5vw, 2.5rem);
    height: clamp(2rem, 2.5vw, 2.5rem);
}
