/* ========================================================================
   Contact Us page (/contactus) - Phase 10D Batch 6
   Page-hero base (.page-header) lives in common.css. The .page-header--lg
   modifier here overrides padding, alignment, and typography for the bigger
   marketing-style hero this page uses.
   ======================================================================== */

/* --- page-header--lg modifier (overrides /orders' compact hero) ---------- */
.page-header.page-header--lg {
    padding: 72px 0 84px;
    text-align: center;
}
.page-header.page-header--lg::after {
    background:
        radial-gradient(ellipse 50% 70% at 20% 30%, rgba(232,100,44,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(26,138,125,0.06) 0%, transparent 60%);
}
.page-header.page-header--lg .page-header-inner {
    align-items: center;
    justify-content: center;
}
.page-header.page-header--lg .page-header-content {
    max-width: 720px;
    text-align: center;
}
.page-header.page-header--lg h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-bottom: 18px;
}
.page-header.page-header--lg .page-header-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}
.page-header.page-header--lg .breadcrumb {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.page-header.page-header--lg .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-header.page-header--lg .breadcrumb a:hover { color: var(--white); }

/* --- contact section (form + support aside) ------------------------------ */
.contact-section {
    background: var(--off-white);
    padding: 96px 0;
    position: relative;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

/* Form card */
.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 44px 44px 40px;
    position: relative;
}
.contact-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange) 0%, #f28853 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.contact-card h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.contact-card-subhead {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 28px;
    line-height: 1.55;
}

/* Form alert (top-of-card error summary) */
.contact-card .form-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    line-height: 1.5;
}
.contact-card .form-alert-error {
    background: var(--status-red-light);
    color: var(--status-red);
    border: 1px solid rgba(207,59,59,0.25);
}

/* Form layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-card .form-group {
    display: flex;
    flex-direction: column;
}
.contact-card .form-group label {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.contact-card .form-group label .optional {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-400);
    text-transform: none;
    letter-spacing: 0;
}
.contact-card .required {
    color: var(--orange);
    font-weight: 700;
    margin-left: 2px;
}
.contact-card .form-input,
.contact-card .form-textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    padding: 13px 15px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
}
.contact-card .form-input::placeholder,
.contact-card .form-textarea::placeholder {
    color: var(--gray-400);
}
.contact-card .form-input:hover,
.contact-card .form-textarea:hover {
    border-color: var(--gray-400);
}
.contact-card .form-input:focus,
.contact-card .form-textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232,100,44,0.12);
}
.contact-card .form-input.error,
.contact-card .form-textarea.error {
    border-color: var(--status-red);
    background: #fffbfb;
}
.contact-card .form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.55;
}
.contact-card .field-error {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--status-red);
    margin-top: 6px;
    display: none;
}
.contact-card .field-error.show { display: block; }

.contact-card .form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.contact-card .privacy-note {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.5;
    max-width: 320px;
}
.contact-card .privacy-note a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(232,100,44,0.35);
    text-underline-offset: 2px;
}
.contact-card .privacy-note a:hover { text-decoration-color: var(--orange); }
.contact-card .btn-primary {
    min-width: 180px;
    padding: 13px 28px;
    font-size: 0.95rem;
    border-radius: var(--radius);
}
.contact-card .btn-primary svg {
    width: 16px; height: 16px;
    fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Success state (post-redirect-get) */
.form-success {
    display: none;
    text-align: center;
    padding: 24px 8px 8px;
}
.form-success.show { display: block; }
.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--status-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-success-icon svg {
    width: 32px; height: 32px;
    stroke: var(--status-green);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.form-success p {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto 24px;
}
.form-success .btn-outline-dark {
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.form-success .btn-outline-dark:hover { border-color: var(--navy); }

/* --- Support aside ------------------------------------------------------- */
.support-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 96px;
}
.support-eyebrow {
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.support-heading {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 10px;
}
.support-lead {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 14px;
}
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-channel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}
.contact-channel:hover {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.channel-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.channel-icon svg {
    width: 20px; height: 20px;
    stroke: var(--orange);
    fill: none;
}
.channel-body {
    flex: 1;
    min-width: 0;
}
.channel-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.channel-value {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.015em;
    display: block;
    transition: color 0.2s;
    word-break: break-all;
}
.contact-channel:hover .channel-value { color: var(--orange); }
.channel-meta {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Response-promise card */
.response-card {
    padding: 22px 24px;
    background: var(--navy);
    border-radius: var(--radius);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.response-card::before {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(232,100,44,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.response-card-inner {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.response-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(232,100,44,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}
.response-icon svg {
    width: 18px; height: 18px;
    stroke: var(--orange);
    fill: none;
}
.response-title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.response-text {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
}
.response-text strong { color: var(--white); font-weight: 600; }

/* --- Alternatives strip -------------------------------------------------- */
.alternatives {
    background: var(--white);
    padding: 80px 0 96px;
}
.alternatives-header {
    text-align: center;
    margin-bottom: 44px;
}
.alternatives-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.alternatives-header p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}
.alt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.alt-card {
    padding: 32px 28px 28px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.alt-card:hover {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.alt-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.alt-card-icon svg {
    width: 22px; height: 22px;
    stroke: var(--teal);
    fill: none;
}
.alt-card-icon.orange { background: var(--orange-light); }
.alt-card-icon.orange svg { stroke: var(--orange); }
.alt-card-icon.navy { background: rgba(15,31,61,0.06); }
.alt-card-icon.navy svg { stroke: var(--navy); }
.alt-card h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.alt-card p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 18px;
}
.alt-card a {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.alt-card a:hover { gap: 10px; }
.alt-card a::after {
    content: "";
    width: 14px; height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8' fill='none' stroke='%23e8642c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h12m0 0L9 1m4 3L9 7'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 680px;
    }
    .support-info { position: static; }
    .alt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-header.page-header--lg { padding: 56px 0 68px; }
    .contact-section { padding: 56px 0 72px; }
    .contact-card { padding: 32px 24px 28px; }
    .contact-card .form-row { grid-template-columns: 1fr; gap: 18px; }
    .contact-card .form-footer { flex-direction: column; align-items: stretch; }
    .contact-card .privacy-note { max-width: none; order: 2; }
    .contact-card .btn-primary { width: 100%; order: 1; justify-content: center; }
    .alternatives { padding: 56px 0 72px; }
    .alt-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 480px) {
    .page-header.page-header--lg h1 { font-size: 1.85rem; }
    .page-header.page-header--lg .page-header-sub { font-size: 1rem; }
    .contact-card h2 { font-size: 1.35rem; }
    .support-heading { font-size: 1.3rem; }
}
