/*
 * HERO
 */
.contacts-hero {
    background-color: rgba(25, 185, 185, 0.12);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}

.contacts-hero::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 14px;
    background-color: rgba(25, 185, 185, 0.12);
    clip-path: polygon(
        0% 0%, 0% 50%, 3% 0%, 8% 60%, 15% 10%, 22% 55%, 30% 0%, 38% 50%, 45% 5%, 52% 60%, 60% 0%, 68% 55%, 75% 10%, 82% 50%, 90% 0%, 95% 45%, 100% 15%, 100% 0%
    );
}

.contacts-hero-title {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #08525F;
}

@media (min-width: 768px) {
    .contacts-hero-title {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}

/*
 * INTRO
 */
.contacts-intro {
    padding: 3rem 2rem;
    text-align: center;
}

.contacts-intro-label {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    display: inline-block;
    max-width: 100%;
    width: fit-content;
    background-color: #08525F;
    margin-bottom: 1.5rem;
    clip-path: var(--rough-edge);
}

.contacts-intro-label--secondary {
    margin-top: 1rem;
}

.contacts-intro-text {
    font-size: 1rem;
    line-height: 1.8rem;
    color: var(--grey-500);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.contacts-intro-subtext {
    font-size: 1rem;
    line-height: 1.8rem;
    color: var(--grey-500);
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contacts-intro-label {
        font-size: 1.1rem;
        padding: 0.6rem 1.8rem;
        white-space: nowrap;
    }
}

.contacts-info {
    display: flex;
    flex-direction: column;
}

.contacts-info-image {
    display: block;
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: auto auto 0;
    padding-top: 3rem;
}

/*
 * MAIN (INFO + FORM)
 */
.contacts-main {
    padding: 3rem 0 4rem;
    margin-bottom: -4rem;
    padding-bottom: 8rem;
    position: relative;
    margin-top: 2rem;
}

.contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Info card */
.contacts-info {
    background: #08525F;
    color: white;
    padding: 2.5rem 2rem;
    clip-path: polygon(
        0% 1%, 3% 0%, 8% 1.5%, 15% 0%, 22% 1%, 30% 0%, 38% 1.5%, 45% 0%, 52% 1%, 60% 0%, 68% 1.5%, 75% 0%, 82% 1%, 90% 0%, 95% 1.5%, 100% 0.5%,
        100% 98.5%, 97% 100%, 92% 98.5%, 85% 100%, 78% 99%, 70% 100%, 62% 98.5%, 55% 100%, 48% 99%, 40% 100%, 32% 98.5%, 25% 100%, 18% 99%, 10% 100%, 5% 98.5%, 0% 99%
    );
}

.contacts-info-label {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #19B9B9;
}

.contacts-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacts-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contacts-info-item img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.contacts-info-item-title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
    opacity: 0.7;
}

a.contacts-info-item-link,
a:link.contacts-info-item-link,
a:visited.contacts-info-item-link,
a:hover.contacts-info-item-link,
a:active.contacts-info-item-link {
    color: white;
    text-decoration: none;
}

a.contacts-info-item-link:hover {
    text-decoration: underline;
}

/* Form card */
.contacts-form {
    padding: 1rem 2rem;
    position: relative;
}

.contacts-form-cat {
    display: none;
    position: absolute;
    bottom: calc(100% - 0.5rem);
    right: 1.5rem;
    width: 100px;
    height: auto;
    pointer-events: none;
    z-index: 2;
}

@media (min-width: 768px) {
    .contacts-form-cat {
        display: block;
    }
}

.contacts-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contacts-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contacts-form-field label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--grey-500);
}

.contacts-form-field input,
.contacts-form-field textarea {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 0.6rem 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.2s ease;
}

.contacts-form-field input:focus,
.contacts-form-field textarea:focus {
    outline: none;
    border-color: #19B9B9;
}

.contacts-form-field textarea {
    resize: vertical;
}

.contacts-form-submit {
    display: inline-block;
    width: fit-content;
    background-color: #08525F;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.7rem 2.5rem;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: opacity 0.2s ease;
    clip-path: var(--rough-edge);
}

.contacts-form-submit:hover {
    opacity: 0.85;
}

@media (min-width: 768px) {
    .contacts-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 2.5rem;
    }
}
