/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — page-specific styles
   ═══════════════════════════════════════════════════════════ */

/* Local reveal delay helpers to match source naming */
.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }
.rd4 { transition-delay: .32s; }
.rd5 { transition-delay: .40s; }

/* Hero */
.page-hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 80% 30%, rgba(62, 243, 210, .06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 20% 70%, rgba(62, 243, 210, .03) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(62, 243, 210, .05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 80% at 20% 50%, black 10%, transparent 70%);
    pointer-events: none;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(16px);
    animation: contactFadeUp .6s cubic-bezier(.22, 1, .36, 1) .2s forwards;
}

.hero-breadcrumb a:hover {
    color: var(--accent);
}

.hero-breadcrumb .sep {
    opacity: .35;
}

.hero-breadcrumb .crumb-active {
    color: var(--text);
}

@keyframes contactFadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(16px);
    animation: contactFadeUp .6s cubic-bezier(.22, 1, .36, 1) .35s forwards;
}

.hero-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(62, 243, 210, .07);
    border: 1px solid rgba(62, 243, 210, .18);
    padding: 5px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: contactBlinkDot 2.2s infinite;
}

@keyframes contactBlinkDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .25;
    }
}

.hero-h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(18px);
    animation: contactFadeUp .7s cubic-bezier(.22, 1, .36, 1) .5s forwards;
}

.hero-h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 460px;
    opacity: 0;
    transform: translateY(18px);
    animation: contactFadeUp .7s cubic-bezier(.22, 1, .36, 1) .7s forwards;
}

/* Contact card */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: contactFadeUp .8s cubic-bezier(.22, 1, .36, 1) .55s forwards;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.contact-card-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
}

.contact-card-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .55;
    margin-bottom: 10px;
}

.contact-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-card-note {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
}

.contact-card-body {
    padding: 8px 0;
}

.email-block {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.email-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .5;
}

.email-address {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -.01em;
}

.email-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 7px;
    transition: all .2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.email-btn.send {
    color: var(--bg);
    background: var(--accent);
    font-weight: 600;
}

.email-btn.send:hover {
    opacity: .88;
    box-shadow: 0 0 20px var(--glow);
}

.email-btn.copy {
    color: var(--muted);
    border-color: var(--border);
    background: transparent;
}

.email-btn.copy:hover {
    color: var(--text);
    border-color: rgba(62, 243, 210, .3);
}

.copy-feedback {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--success);
    opacity: 0;
    transition: opacity .3s;
    letter-spacing: .06em;
}

.copy-feedback.show {
    opacity: 1;
}

.meta-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 28px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 13px;
}

.meta-row:last-child {
    border-bottom: 0;
    padding-bottom: 24px;
}

.meta-icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--accent);
    opacity: .7;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.meta-content {
    flex: 1;
}

.meta-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: .5;
    margin-bottom: 3px;
}

.meta-value {
    color: var(--muted);
    line-height: 1.5;
    font-size: 13px;
}

.meta-value strong {
    color: var(--text);
    font-weight: 500;
}

.outage-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--danger);
    background: rgba(251, 113, 133, .08);
    border: 1px solid rgba(251, 113, 133, .2);
    padding: 2px 6px;
    border-radius: 4px;
}

.outage-inline {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--danger);
}

.quote-inline-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Scope */
.scope-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 56px;
}

.scope-card {
    background: var(--surface);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: background .2s;
}

.scope-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.scope-card:hover {
    background: var(--surface2);
}

.scope-card:hover::before {
    transform: scaleX(1);
}

.scope-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(62, 243, 210, .07);
    border: 1px solid rgba(62, 243, 210, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.scope-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.scope-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

/* Expectations */
.expect-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.expect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 56px;
}

.expect-col {
    background: var(--surface);
    padding: 40px;
}

.expect-col.right {
    background: var(--surface2);
}

.expect-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.expect-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.expect-status.amber {
    background: var(--warning);
    box-shadow: 0 0 8px rgba(251, 191, 36, .35);
}

.expect-status.green {
    background: var(--success);
    box-shadow: 0 0 8px rgba(52, 211, 153, .4);
}

.expect-col-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.expect-col-label.amber {
    color: var(--warning);
}

.expect-col-label.green {
    color: var(--success);
}

.expect-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.expect-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

.expect-item-icon {
    flex-shrink: 0;
    font-size: 13px;
    margin-top: 2px;
}

.expect-item-icon.warn {
    color: var(--warning);
}

.expect-item-icon.ok {
    color: var(--success);
}

.expect-item strong {
    color: var(--text);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
}

/* Process strip */
.process-strip {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 48px;
    list-style: none;
    padding: 0;
}

.process-step {
    background: var(--surface);
    padding: 32px 28px;
    transition: background .2s;
    position: relative;
}

.process-step:hover {
    background: var(--surface2);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: .45;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-num::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
    opacity: .4;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.step-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

/* CTA */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(62, 243, 210, .05) 0%, transparent 70%);
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Button adjustments for this page */
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
.mobile-contact-card {
    display: none;
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-layout > .contact-card {
        display: none;
    }

    .mobile-contact-card {
        display: block;
        margin-top: 40px;
    }

    .contact-card-mobile {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .scope-grid {
        grid-template-columns: 1fr 1fr;
    }

    .expect-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .scope-grid {
        grid-template-columns: 1fr;
    }

    .expect-col {
        padding: 28px 22px;
    }

    .email-actions {
        flex-wrap: wrap;
    }

    .cta-btns {
        flex-direction: column;
    }

    .cta-btns .btn-primary,
    .cta-btns .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}
