
:root {
    --color-text: #353d35;
    --color-muted: #626a60;
    --color-pink: #b47784;
    --color-sage: #64785e;
    --color-lightsage: #e7ebdd;
    --color-border: #d5dccf;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-lightsage);
    color: var(--color-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
p {
    overflow-wrap: anywhere;
}

/* Contact heading */
.section-inner {
    width: min(1000px, calc(100% - 48px));
    margin: 0 auto;
}

.contact-intro {
    padding: 30px 0 40px;
}

.contact-intro h1 {
    max-width: 100%;
    margin: 0 0 14px;
    color: var(--color-text);
    font-size: clamp(2rem, 5.4vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.95;
}



.page-hero {
    padding: 30px 0 40px;
    background: #fbfaf6;
}

.contact-intro > .section-inner > p {
    max-width: 600px;
    margin: 0;
    color: var(--color-muted);
    font-size: 17px;
}

/* Contact layout */
.contact-section {
    padding: 15px 0 65px;
    background: #fbfaf6;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 55px;
    align-items: start;
}

.contact-details {
    padding: 8px 0;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--color-sage);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-details h2,
.contact-form-wrap h2 {
    margin: 0 0 16px;
    color: var(--color-text);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.contact-details > p:not(.eyebrow) {
    margin: 0 0 18px;
    color: var(--color-muted);
    font-size: 15px;
}

/* Contact form */
.contact-form-wrap {
    padding: 30px;
    border: 1px solid var(--color-border);
    background: var(--color-lightsage);
}

form {
    width: 100%;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.form-field label {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: #fbfaf6;
    color: var(--color-text);
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #74796f;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--color-sage);
    outline: 2px solid rgba(100, 120, 94, 0.15);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

/* Submit button */
button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0 7px;
    border: 0;
    border-bottom: 1px solid var(--color-pink);
    background: transparent;
    color: var(--color-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

button:hover {
    color: var(--color-pink);
}

button span {
    transition: transform 0.2s ease;
}

button:hover span {
    transform: translateX(4px);
}

/* Smaller screens */
@media (max-width: 760px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 620px) {
    .section-inner {
        width: calc(100% - 36px);
    }

    .contact-intro {
        padding: 55px 0 30px;
    }

    .contact-form-wrap {
        padding: 22px;
    }
}
