/* Contact Page Styles */

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Contact Map Section */

/* Base (Mobile-first) */
.contact-map-sec {
    width: 100%;
    padding: 40px 0;
    background: var(--bg-color);
    position: relative;
}

.contact-map-container {
    width: 100%;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
}

.contact-map {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    background: var(--card-bg);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.contact-map-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-map-info-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
    width: 100%;
    box-sizing: border-box;
}

.contact-map-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(41, 171, 226, 0.2);
}

.contact-map-info-card:focus-within {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.contact-map-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.contact-map-info-card:hover .contact-map-info-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.3);
}

.contact-map-info-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-map-info-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark-dark);
    margin-bottom: 6px;
}

.contact-map-info-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-dark-low);
    margin-bottom: 10px;
}

.contact-map-info-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.contact-map-info-link:hover {
    color: var(--secondary-color-dark);
}

.contact-map-info-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.contact-map-info-card address.contact-map-info-link {
    color: var(--text-dark-dark);
    cursor: default;
    font-style: normal;
}

/* Contact Form Section */

/* Base (Mobile-first) */
.contact-form-sec {
    width: 100%;
    padding: 40px 0;
    background: var(--bg-color);
    position: relative;
}

.contact-form-container {
    width: 100%;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-kicker {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--secondary-color);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.contact-form-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.contact-form-title span {
    color: var(--secondary-color-dark);
}

.contact-form-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark-low);
}

.contact-form-wrapper {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-wrapper:focus-within {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.1);
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-page-form .form-group-full {
    grid-column: 1 / -1;
}

.contact-page-form .form-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
}

.contact-page-form .btn-submit {
    padding: 14px 28px;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(41, 171, 226, 0.2);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
}

.contact-page-form .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.3);
}

.contact-page-form .btn-submit:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.contact-page-form .btn-submit:active {
    transform: translateY(0);
}

.contact-page-form .form-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: var(--text-dark-low);
    line-height: 1.4;
}

.contact-page-form .form-privacy i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Tablet (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-map-sec {
        padding: 60px 0;
    }

    .contact-map-container {
        max-width: calc(100% - 80px);
        padding: 0 40px;
    }

    .contact-map-wrapper {
        gap: 30px;
    }

    .contact-map {
        height: 400px;
    }

    .contact-map-info-card {
        padding: 24px;
        gap: 16px;
    }

    .contact-map-info-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .contact-form-sec {
        padding: 60px 0;
    }

    .contact-form-container {
        max-width: calc(100% - 80px);
        padding: 0 40px;
    }

    .contact-form-header {
        margin-bottom: 40px;
        max-width: 700px;
    }

    .contact-form-wrapper {
        padding: 40px 32px;
    }

    .contact-page-form {
        gap: 24px;
    }

    .contact-page-form .form-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-page-form .form-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .contact-page-form .btn-submit {
        width: auto;
        min-width: 120px;
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .contact-map-sec {
        padding: 80px 0;
    }

    .contact-map-container {
        max-width: min(1400px, calc(100% - 120px));
        padding: 0 60px;
    }

    .contact-map-wrapper {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 30px;
        align-items: start;
    }

    .contact-map {
        height: 500px;
    }

    .contact-map-info-card {
        padding: 24px;
        gap: 16px;
    }

    .contact-map-info-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .contact-form-sec {
        padding: 80px 0;
    }

    .contact-form-container {
        max-width: min(1000px, calc(100% - 120px));
        padding: 0 60px;
    }

    .contact-form-header {
        margin-bottom: 50px;
        max-width: 700px;
    }

    .contact-form-wrapper {
        padding: 48px 40px;
    }

    .contact-page-form {
        gap: 24px;
    }

    .contact-page-form .form-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-page-form .form-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .contact-page-form .btn-submit {
        width: auto;
        min-width: 120px;
    }
}

/* Small Mobile (320px - 375px) */
@media (max-width: 375px) {
    .contact-map-sec {
        padding: 32px 0;
    }

    .contact-map-container {
        max-width: calc(100% - 32px);
        padding: 0 16px;
    }

    .contact-map {
        height: 300px;
    }

    .contact-map-info-card {
        padding: 16px;
        gap: 12px;
    }

    .contact-map-info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .contact-form-sec {
        padding: 32px 0;
    }

    .contact-form-container {
        max-width: calc(100% - 32px);
        padding: 0 16px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .contact-form-header {
        margin-bottom: 24px;
    }

    .contact-page-form {
        gap: 16px;
    }

    .contact-page-form .form-row {
        gap: 16px;
    }
}
