
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #002f2f;
    color: #fffaf5;
    line-height: 1.5;
}

.contact-page {
    min-height: 100vh;
    padding: 70px 0;
    background: #002f2f;
}

.container {
    width: min(92%, 820px);
    margin: 0 auto;
}

.contact-page-header {
    margin-bottom: 28px;
    text-align: center;
}

.section-kicker {
    margin-bottom: 6px;
    color: #e99518;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.contact-page-header h1 {
    color: #f5eee5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
}

.contact-form {
    padding: 32px;
    border-radius: 18px;
    background: #f5eee5;
    color: #1d2624;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

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

.contact-form label {
    margin-top: 8px;
    color: #002f2f;
    font-weight: 700;
}

.contact-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(0, 47, 47, 0.25);
    border-radius: 8px;
    background: #fffaf5;
    color: #1d2624;
    font: inherit;
    outline: none;
}

.contact-form input:focus {
    border-color: #e99518;
    box-shadow: 0 0 0 3px rgba(233, 149, 24, 0.16);
}

.contact-submit {
    width: 100%;
    margin-top: 20px;
    padding: 14px 24px;
    border: 0;
    border-radius: 8px;
    background: #e99518;
    color: #1c211e;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.form-message {
    min-height: 1.5em;
    margin-top: 12px;
    text-align: center;
}

@media (max-width: 600px) {
    .contact-page {
        padding: 40px 0;
    }

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

.success-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 47, 47, 0.65);
    z-index: 1000;
}

.success-popup.show {
    display: flex;
}

.success-popup-content {
    width: min(90%, 420px);
    padding: 32px;
    background: #f5eee5;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.success-popup-content p {
    margin: 0 0 24px;
    color: #002f2f;
    font-size: 1.1rem;
    font-weight: 600;
}

.success-popup-content button {
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 8px;
    background: #e99518;
    color: #002f2f;
    font-weight: 700;
    cursor: pointer;
}