/* Contact Us — PDF intro + form; header chrome matches home/about */

.header-shell {
    width: min(1480px, 94vw);
    margin-inline: auto;
}

.page-contact .site-header {
    height: 96px;
}

@media (min-width: 992px) {
    .page-contact .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
    }
}

.page-contact .header-logo-img {
    height: 32px;
    width: auto;
}

.page-contact .header-nav {
    justify-content: center;
    padding-right: 0;
    gap: 2.6rem;
}

.page-contact .header-nav a {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    font-weight: 400;
    text-transform: none;
    border-bottom-width: 1px;
}

.page-contact .header-nav a.is-active {
    border-bottom-color: rgba(255, 255, 255, 0.95);
}

.page-contact .header-tel-box {
    min-width: 8rem;
    height: 36px;
    font-size: 0.74rem;
}

.page-contact .menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.page-contact .menu-toggle:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.page-contact .menu-toggle span {
    display: block;
    width: 14px;
    height: 1.5px;
    margin: 0;
    background: #fff;
    flex-shrink: 0;
}

.page-contact .header-actions {
    gap: 0.85rem;
}

/* —— 01 Intro —— */
.ct-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--header-h) + 2rem) 0 5.5rem;
    overflow: hidden;
    text-align: left;
}

.ct-hero-bg {
    position: absolute;
    inset: 0;
}

.ct-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ct-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 6, 4, 0.55) 0%,
        rgba(8, 6, 4, 0.22) 42%,
        rgba(8, 6, 4, 0.12) 70%,
        rgba(8, 6, 4, 0.2) 100%
    );
}

.ct-hero-inner {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 40rem;
}

.ct-eyebrow {
    margin: 0 0 1.5rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.ct-hero-title {
    margin: 0 0 1.35rem;
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #fff;
}

.ct-hero-title .accent {
    color: var(--sage);
}

.ct-hero-lead {
    margin: 0 0 2rem;
    max-width: 28rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

.ct-hero-cta {
    display: inline-flex;
}

/* —— 02 Form —— */
.ct-form-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 5.5rem 0;
    overflow: hidden;
}

.ct-form-bg {
    position: absolute;
    inset: 0;
}

.ct-form-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: brightness(0.48);
}

.ct-form-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.72) 0%,
        rgba(8, 8, 8, 0.45) 45%,
        rgba(8, 8, 8, 0.28) 100%
    );
}

.ct-form-wrap {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    text-align: left;
}

.ct-form-eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.ct-form-title {
    margin: 0 0 2.5rem;
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.15;
    color: var(--sage);
}

.ct-form {
    display: grid;
    gap: 1.75rem;
}

.ct-form-row {
    display: grid;
    gap: 1.75rem 2rem;
}

@media (min-width: 768px) {
    .ct-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ct-field--full {
    grid-column: 1 / -1;
}

.ct-field label {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(242, 239, 232, 0.78);
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    margin: 0;
    padding: 0.35rem 0 0.75rem;
    border: 0;
    border-bottom: 1px solid rgba(221, 213, 200, 0.55);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    box-shadow: none;
}

.ct-field textarea {
    min-height: 6.5rem;
    resize: vertical;
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-bottom-color: var(--sage);
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: transparent;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: fit-content;
    margin-top: 0.5rem;
    padding: 0.95rem 1.6rem;
    border: 0;
    border-radius: 0;
    background: var(--sage-btn);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.ct-submit:hover {
    background: #4d6752;
    color: #fff;
}

.ct-submit:disabled,
.ct-submit.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.ct-submit .btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.ct-submit:hover:not(:disabled) .btn-arrow {
    transform: translateX(5px);
}

.ct-submit.is-loading .btn-arrow {
    display: none;
}

.ct-submit-spin {
    display: none;
    width: 1.05rem;
    height: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ct-spin 0.7s linear infinite;
}

.ct-submit.is-loading .ct-submit-spin {
    display: inline-block;
}

@keyframes ct-spin {
    to { transform: rotate(360deg); }
}

.ct-alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(220, 53, 69, 0.45);
    background: rgba(220, 53, 69, 0.15);
    color: #f8d7da;
    font-size: 0.9rem;
}

.ct-alert ul {
    margin: 0;
    padding-left: 1.1rem;
}

/* Bottom-left toast */
.ct-toast {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: min(22rem, calc(100vw - 2.5rem));
    padding: 0.95rem 1rem;
    border: 1px solid rgba(143, 168, 140, 0.55);
    border-radius: 10px;
    background: rgba(16, 20, 16, 0.94);
    color: #e8f0e6;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.ct-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.ct-toast-icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--sage);
    margin-top: 0.05rem;
}
.ct-toast-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.ct-toast-text {
    margin: 0;
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.45;
}
.ct-toast-close {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.ct-toast-close:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .ct-hero {
        min-height: 85vh;
        padding: calc(var(--header-h) + 2rem) 0 3.5rem;
    }

    .ct-form-section {
        min-height: 0;
        padding: 4rem 0;
    }

    .ct-form-wrap {
        width: 100%;
    }
}
