/*
 * Contact page - page-specific stylesheet
 * ALL rules scoped to .ct — zero impact on other pages
 * Fonts: site fonts only
 */

/* ═══════════════════════════════════════════
   CUSTOM PROPERTIES
═══════════════════════════════════════════ */
.ct {
    --ct-green: #1B3A2D;
    --ct-terra: #C8714A;
    --ct-cream: #FAF7F0;
    --ct-text:  #2E2A24;
    --ct-muted: #6B6560;
    --ct-pad:   80px;
    --ct-t:     0.25s ease;

    background: var(--ct-cream);
    color: var(--ct-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct img  { display: block; max-width: 100%; }
.ct a    { color: inherit; text-decoration: none; }
.ct p    { margin: 0 0 0.75rem; }
.ct p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   CONTAINER
═══════════════════════════════════════════ */
.ct-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--ct-t);
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    font-family: inherit;
}

/* Terra fill */
.ct-btn--terra {
    background: var(--ct-terra);
    color: #fff;
    border-color: var(--ct-terra);
}
.ct-btn--terra:hover {
    background: transparent;
    color: var(--ct-terra);
    border-color: var(--ct-terra);
}

/* Cream outline - on green bg */
.ct-btn--cream-outline {
    background: transparent;
    color: var(--ct-cream);
    border-color: var(--ct-cream);
}
.ct-btn--cream-outline:hover {
    background: var(--ct-cream);
    color: var(--ct-green);
    border-color: var(--ct-cream);
}

/* ═══════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════ */
.ct-hero {
    background: var(--ct-green);
    padding: 80px 24px;
    text-align: center;
}

.ct-hero-inner {
    max-width: 680px;
    margin: 0 auto;
}

.ct-hero-h1 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 600;
    color: var(--ct-cream);
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
}

.ct-hero-p {
    color: rgba(250, 247, 240, 0.80);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

/* ═══════════════════════════════════════════
   2. CONTACT SECTION
═══════════════════════════════════════════ */
.ct-contact {
    background: var(--ct-cream);
    padding: var(--ct-pad) 0;
}

.ct-contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
}

.ct-section-h2 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 600;
    color: var(--ct-green);
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 0 0 28px;
}

/* ─── Form ─── */
.ct-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-label {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ct-muted);
    font-weight: 500;
}

.ct-input {
    width: 100%;
    border: 1px solid #DDD;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--ct-text);
    background: #fff;
    font-family: inherit;
    transition: border-color var(--ct-t);
    appearance: none;
}

.ct-input:focus {
    outline: none;
    border-color: var(--ct-terra);
}

.ct-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.ct-form .ct-btn--terra {
    align-self: flex-start;
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: 6px;
}

/* Success message */
.ct-success {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(27, 58, 45, 0.07);
    border: 1px solid rgba(27, 58, 45, 0.20);
    border-left: 4px solid var(--ct-green);
    border-radius: 6px;
    padding: 24px 20px;
    color: var(--ct-green);
}

.ct-success-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.ct-success p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ct-green);
}

/* ─── Info cards ─── */
.ct-info-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid var(--ct-terra);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ct-info-card:last-child {
    margin-bottom: 0;
}

.ct-info-icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.ct-info-body {
    flex: 1;
    min-width: 0;
}

.ct-info-h3 {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ct-muted);
    font-weight: 600;
    margin: 0 0 6px;
}

.ct-info-body p {
    font-size: 0.95rem;
    color: var(--ct-text);
    line-height: 1.6;
    margin-bottom: 4px;
    word-break: break-word;
}

.ct-info-body a {
    color: var(--ct-terra);
    transition: opacity var(--ct-t);
}

.ct-info-body a:hover {
    opacity: 0.75;
}

/* ═══════════════════════════════════════════
   3. MAP STRIPE - full-width
═══════════════════════════════════════════ */
.ct-map {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.ct-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

/* ═══════════════════════════════════════════
   4. CTA BAND
═══════════════════════════════════════════ */
.ct-cta {
    background: var(--ct-green);
    padding: var(--ct-pad) 24px;
    text-align: center;
}

.ct-cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.ct-cta-p {
    color: rgba(250, 247, 240, 0.88);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 32px;
}

.ct-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 1024px
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ct-container { padding: 0 32px; }
    .ct-contact-grid { gap: 48px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .ct { --ct-pad: 60px; }
    .ct-container { padding: 0 20px; }

    .ct-contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ct-map iframe { height: 320px; }

    .ct-cta-actions { flex-direction: column; align-items: center; }
    .ct-cta-actions .ct-btn { width: 100%; max-width: 320px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 480px (covers 360px+)
═══════════════════════════════════════════ */
@media (max-width: 480px) {
    .ct { --ct-pad: 48px; }
    .ct-container { padding: 0 16px; }

    .ct-hero { padding: 60px 16px; }

    .ct-form .ct-btn--terra {
        align-self: stretch;
        width: 100%;
    }

    .ct-map iframe { height: 260px; }
}
