/* ============================================
   YEV - contact page styles (externalized v6.01)
   ============================================ */

.contact-form-wrap {
            background: white;
            padding: 36px 30px;
            border-radius: 18px;
            border: 1px solid rgba(33,37,107,0.08);
            box-shadow: 0 6px 20px rgba(33,37,107,0.06);
            margin-top: 36px;
        }
        .contact-form-wrap h2 {
            color: var(--indigo);
            font-size: 1.375rem;
            margin-bottom: 6px;
        }
        .contact-form-wrap p { color: #666; font-size: 0.875rem; margin-bottom: 24px; }
        .yev-form .form-row { margin-bottom: 18px; }
        .yev-form label {
            display: block;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--indigo);
            margin-bottom: 6px;
        }
        .yev-form input[type="text"],
        .yev-form input[type="email"],
        .yev-form select,
        .yev-form textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1.5px solid rgba(33,37,107,0.15);
            border-radius: 10px;
            font-size: 0.9375rem;
            font-family: inherit;
            color: var(--ink);
            background: #fdfbf5;
            transition: border-color 0.2s ease;
        }
        .yev-form input:focus,
        .yev-form select:focus,
        .yev-form textarea:focus {
            outline: none;
            border-color: var(--cyan);
            background: white;
        }
        .yev-form textarea { resize: vertical; }
        .btn-submit {
            display: inline-block;
            padding: 14px 36px;
            background: linear-gradient(135deg, var(--indigo) 0%, #2a3080 100%);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 0.9375rem;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(33,37,107,0.3); }
        .hidden { display: none; }
        .contact-card {
            background: white;
            padding: 32px 26px;
            border-radius: 18px;
            border: 1px solid rgba(33,37,107,0.08);
            box-shadow: 0 6px 20px rgba(33,37,107,0.06);
            text-align: center;
        }
        .contact-card-icon { font-size: 2.375rem; margin-bottom: 14px; }
        .contact-card h3 {
            font-size: 1.125rem;
            color: var(--indigo);
            font-weight: 700;
            margin-bottom: 10px;
        }
        .contact-card p { color: #555; font-size: 0.875rem; line-height: 1.55; margin-bottom: 18px; }
        .contact-card a {
            display: inline-block;
            padding: 11px 22px;
            background: var(--indigo);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 700;
            transition: all 0.3s ease;
        }
        .contact-card a:hover { background: var(--indigo-deep); transform: translateY(-2px); }
        .related-links {
            background: white;
            padding: 30px;
            border-radius: 16px;
            margin-top: 36px;
            border: 1px solid rgba(33,37,107,0.08);
        }
        .related-links h3 { color: var(--indigo); font-size: 1.125rem; margin-bottom: 14px; }
        .related-links ul { list-style: none; padding: 0; }
        .related-links li { padding: 10px 0; border-bottom: 1px dashed rgba(33,37,107,0.1); }
        .related-links li:last-child { border-bottom: none; }
        .related-links a { color: var(--indigo); text-decoration: none; font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
        .related-links a:hover { color: var(--yev-royal); }
        .related-links span { color: var(--muted); font-size: 0.875rem; display: block; margin-top: 2px; }

        /* Two-column layout (v5.26): mobile-first single column, two columns at >=768px */
        .contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
        .contact-options { display: grid; grid-template-columns: 1fr; gap: 24px; align-content: start; }
        .contact-grid-lower { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
        .timing-box {
            background: white;
            padding: 30px;
            border-radius: 16px;
            border: 1px solid rgba(33,37,107,0.08);
        }
        .contact-form-wrap .timing-box { margin-top: 24px; }
        .timing-box h3 { color: var(--indigo); font-size: 1.125rem; margin-bottom: 14px; }
        .timing-box p { color: #555; font-size: 0.875rem; line-height: 1.6; margin-bottom: 12px; }
        .timing-box p:last-child { margin-bottom: 0; }
        .related-links { margin-top: 0; }
        .contact-form-wrap { margin-top: 0; }
        @media (min-width: 768px) {
            .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 32px; }
            .contact-grid-lower { grid-template-columns: 1fr 1fr; gap: 32px; }
        }

/* ===== v6.02.1 Calendly booking section ===== */
.booking-section {
    /* v7.14.1 item 11: cut the empty space above the heading ~50% (was 48/40),
       which also fixes the oversized top gap on mobile. */
    margin-top: 24px;
    padding-top: 20px;
    text-align: center;
}
.booking-section h2 { color: var(--yev-navy); font-size: 1.625rem; font-weight: 800; margin-bottom: 8px; }
/* v7.14.1 item 11: halve the gap below the blurb on desktop (was 24px); this
   value also gives mobile a small, consistent gap before the calendar. */
.booking-section > p { color: var(--muted); max-width: 560px; margin: 0 auto 12px; line-height: 1.6; }
.booking-section .calendly-inline-widget { border-radius: 16px; overflow: hidden; }
.booking-fallback { margin-top: 16px; font-size: 0.875rem; }
.booking-fallback a { color: var(--yev-royal); }

/* v6.15 flip: the old max-width:600 .related-links font override was dead
   code (the v6.06.6 base rule below comes later in source and won over it at
   all widths). Removed for a clean mobile-first cascade; rendering unchanged
   (1.0625rem at every width). */

/* v6.06.6 contact related-links: larger, aligned, comfortable */
.related-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 1.0625rem; }
.related-links a .yev-ico-inline { width: 1.25em; height: 1.25em; flex-shrink: 0; margin-right: 0; top: 0; }
.related-links span { font-size: 0.9375rem; }
/* v7.14.1 item 11: the "@MapleGroveStudio on YouTube" link wraps its label in a
   <span> (for data-i18n); without this it inherited the gray description-span
   style. Make the in-link span match its sibling links (color, weight, size,
   inline flow) so all three read identically. */
.related-links a span { color: inherit; font-size: inherit; font-weight: inherit; display: inline; margin-top: 0; }
.related-links li { padding: 14px 0; }
