/* ============================================================
   CONTACT-US.CSS — Therapy Moms
   Page-specific styles only. Global/footer/nav in global.css.
   ============================================================ */

:root {
    --brand-purple:         #512974;
    --brand-purple-dark:    #3d1d57;
    --brand-purple-mid:     #6b3a8a;
    --brand-pink:           #dd89af;
    --brand-pink-light:     rgba(221, 137, 175, 0.15);
    --brand-pink-medium:    rgba(221, 137, 175, 0.35);

    --bg-white:             #ffffff;
    --bg-subtle:            #faf8fd;
    --bg-light-purple:      #f4f0fa;

    --text-dark:            #1a0c2e;
    --text-body:            #4a3860;
    --text-muted:           #7a6b8a;

    --divider:              rgba(81, 41, 116, 0.1);
    --divider-strong:       rgba(81, 41, 116, 0.2);

    --font-serif:           Georgia, 'Times New Roman', serif;
    --font-sans:            'Segoe UI', system-ui, -apple-system, sans-serif;

    --card-radius:          12px;
    --content-max-w:        1100px;
    --page-pad-h:           clamp(1.5rem, 4vw, 3rem);
}

/* ── WRAP ───────────────────────────────────────────── */
.wrap {
    max-width: var(--content-max-w);
    margin: 0 auto;
    padding: 0 var(--page-pad-h);
}

/* ── Shared section tokens ──────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-pink);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

hr.section-rule {
    border: none;
    border-top: 1px solid var(--divider);
    margin: 0;
}

/* ── ANIMATIONS ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.from-up { transform: translateY(28px); }

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.from-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── PAGE HERO ──────────────────────────────────────── */
.about-hero {
    background: var(--brand-purple-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(221,137,175,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.about-hero .wrap { position: relative; }

.about-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    color: #ffffff;
    line-height: 1.18;
    font-weight: 700;
    max-width: 720px;
    margin-bottom: 1.5rem;
    animation: fade-up 0.75s ease both 0.25s;
}

.about-hero-rule {
    width: 48px;
    height: 3px;
    background: var(--brand-pink);
    border-radius: 2px;
    animation: fade-up 0.75s ease both 0.35s;
}

/* ── CONTACT INTRO ──────────────────────────────────── */
.contact-intro {
    background: var(--bg-white);
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.contact-intro-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg-light-purple);
    border: 1px solid var(--divider-strong);
    border-left: 4px solid var(--brand-pink);
    border-radius: var(--card-radius);
    padding: 2rem 2.25rem;
    text-align: left;
    margin-top: 1.5rem;
}

.contact-notice-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-notice-text p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 0.65rem;
}

.contact-notice-text p:last-child { margin-bottom: 0; }

.contact-notice-text strong {
    color: var(--brand-purple);
}

/* ── CONTACT BODY ───────────────────────────────────── */
.contact-body {
    background: var(--bg-subtle);
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

/* ── Sidebar ────────────────────────────────────────── */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    background: var(--bg-white);
    border: 1px solid var(--divider-strong);
    border-radius: var(--card-radius);
    padding: 1.5rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.contact-info-card:hover {
    box-shadow: 0 6px 24px rgba(81,41,116,0.09);
    transform: translateY(-2px);
}

.contact-info-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.contact-info-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 0.35rem;
    transition: color 0.18s;
}

a.contact-info-value:hover {
    color: var(--brand-purple);
}

.contact-info-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-reassurance {
    background: var(--brand-purple);
    border-radius: var(--card-radius);
    padding: 1.75rem 1.75rem;
    margin-top: 0.5rem;
}

.contact-reassurance p {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    font-style: italic;
}

/* ── Contact Form ───────────────────────────────────── */
.contact-form-wrap {
    background: var(--bg-white);
    border: 1px solid var(--divider-strong);
    border-radius: var(--card-radius);
    padding: 2.75rem 3rem;
}

.contact-form-heading {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.contact-form-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

/* ── Form fields ────────────────────────────────────── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.form-required {
    color: var(--brand-pink);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-subtle);
    border: 1.5px solid var(--divider-strong);
    border-radius: 8px;
    padding: 12px 14px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6b8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-purple);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(81, 41, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

/* ── Privacy note ───────────────────────────────────── */
.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: var(--bg-light-purple);
    border-radius: 8px;
    padding: 0.85rem 1rem;
}

.form-privacy svg {
    width: 15px;
    height: 15px;
    fill: var(--brand-purple);
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.form-privacy p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.form-privacy a {
    color: var(--brand-purple);
    text-decoration: none;
    font-weight: 600;
}

.form-privacy a:hover {
    color: var(--brand-pink);
}

/* ── Submit button ──────────────────────────────────── */
.form-submit {
    display: inline-block;
    width: 100%;
    background: var(--brand-purple);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 8px;
    padding: 15px 28px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(221, 137, 175, 0.3);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.form-submit:hover {
    background: var(--brand-purple-dark);
    box-shadow: 0 6px 22px rgba(221, 137, 175, 0.45);
    transform: translateY(-1px);
}

.form-submit:active {
    transform: translateY(0);
}

/* ── Success / Error states ─────────────────────────── */
.form-success {
    margin-top: 1.5rem;
    background: rgba(34, 139, 100, 0.1);
    border: 1px solid rgba(34, 139, 100, 0.3);
    border-left: 4px solid #1a5c41;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.93rem;
    color: #1a5c41;
    line-height: 1.6;
}

.form-error {
    margin-top: 1.5rem;
    background: rgba(220, 60, 60, 0.08);
    border: 1px solid rgba(220, 60, 60, 0.25);
    border-left: 4px solid #993c3c;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.93rem;
    color: #7a2020;
    line-height: 1.6;
}

.form-error a {
    color: var(--brand-purple);
    font-weight: 600;
    text-decoration: none;
}

/* ── PULL QUOTE ─────────────────────────────────────── */
.about-pullquote {
    background: var(--brand-purple);
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    position: relative;
    overflow: hidden;
}

.about-pullquote::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.about-pullquote::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.about-pullquote blockquote {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--page-pad-h);
    position: relative;
}

.about-pullquote blockquote p {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    color: #ffffff;
    line-height: 1.45;
    font-style: italic;
    font-weight: 400;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-sidebar {
        /* On mobile, show sidebar info as a horizontal scroll row */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-reassurance {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .contact-form-wrap {
        padding: 2rem 1.75rem;
    }
}

@media (max-width: 560px) {
    .contact-sidebar {
        grid-template-columns: 1fr;
    }

    .contact-notice {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1.5rem;
    }

    .contact-form-wrap {
        padding: 1.75rem 1.25rem;
    }
}