/* ========================================
   Consulting Page — Paige Julianne Sullivan
   Premium pitch-deck aesthetic
   ======================================== */

/* Nav active state */
.nav-active {
    color: var(--color-primary-light) !important;
}

/* ========================================
   Hero
   ======================================== */

.consulting-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 8rem 1.5rem 4rem;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    top: -15%;
    left: -10%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1), transparent 70%);
    bottom: -15%;
    right: -10%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.hero-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(80px, 40px); }
    66% { transform: translate(30px, -20px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-60px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.hero-center {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.consulting-hero .hero-badge {
    margin-bottom: 2rem;
}

.consulting-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-accent {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.consulting-hero .hero-cta {
    justify-content: center;
}

/* Hero animations */
.hero-center > * {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.hero-center .hero-badge { animation-delay: 0.1s; }
.hero-center h1 { animation-delay: 0.25s; }
.hero-center .hero-subtitle { animation-delay: 0.4s; }
.hero-center .hero-cta { animation-delay: 0.55s; }

/* ========================================
   Credibility Strip
   ======================================== */

.credibility-strip {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0;
}

.cred-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.cred-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cred-number {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.cred-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ========================================
   Shared Section Styles
   ======================================== */

.consulting-section {
    padding: 6rem 0;
}

.consulting-section.alt-bg {
    background: var(--color-bg-secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: -1.5rem auto 3rem;
}

.section-subtitle strong {
    color: var(--color-text);
}

/* ========================================
   Approach Section
   ======================================== */

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.approach-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.25rem;
    transition: var(--transition-base);
}

.approach-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.approach-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.approach-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary-light);
}

.approach-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.approach-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Pull Quote */
.approach-quote {
    text-align: center;
    padding: 2.5rem;
    border-left: none;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.approach-quote p {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: 1.4;
}

.approach-quote em {
    font-style: italic;
    color: var(--color-primary-light);
}

/* ========================================
   Industry Section
   ======================================== */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industry-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.industry-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary-light);
}

.industry-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.industry-clients {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.industry-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
}

.industry-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.25rem;
}

.industry-tech span {
    padding: 0.25rem 0.625rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-primary-light);
    font-family: var(--font-mono);
}

/* Wildcard Card */
.industry-wildcard {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.05));
}

.industry-wildcard .industry-icon {
    background: rgba(99, 102, 241, 0.2);
}

.industry-cta {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--color-primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.industry-cta:hover {
    color: var(--color-accent);
}

/* ========================================
   Differentiators Section
   ======================================== */

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.diff-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.25rem;
    transition: var(--transition-base);
}

.diff-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.diff-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.diff-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary-light);
}

.diff-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.diff-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   Process Steps
   ======================================== */

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.process-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.process-step p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.process-connector {
    width: 60px;
    min-width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-border));
    margin-top: 28px;
    flex-shrink: 0;
}

/* ========================================
   Contact Form
   ======================================== */

.form-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.form-group:last-of-type:not(.form-row .form-group) {
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: var(--color-primary-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    transition: var(--transition-base);
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-submit {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    min-width: 200px;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.form-note a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.form-note a:hover {
    color: var(--color-accent);
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: none;
}

/* Success State */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-checkmark {
    width: 64px;
    height: 64px;
    color: #22c55e;
    margin-bottom: 1.5rem;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: checkStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes checkStroke {
    to { stroke-dashoffset: 0; }
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

/* ========================================
   Light Theme Overrides
   ======================================== */

[data-theme="light"] .consulting-hero h1 {
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .approach-card,
[data-theme="light"] .industry-card,
[data-theme="light"] .diff-card {
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .form-card {
    box-shadow: var(--shadow-lg), 0 0 40px rgba(79, 70, 229, 0.06);
}

[data-theme="light"] .industry-tech span {
    background: rgba(79, 70, 229, 0.08);
}

[data-theme="light"] .industry-wildcard {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(8, 145, 178, 0.03));
}

[data-theme="light"] .approach-quote {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(8, 145, 178, 0.03));
    border-color: rgba(79, 70, 229, 0.15);
}

[data-theme="light"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] .form-error {
    background: rgba(239, 68, 68, 0.05);
    color: #dc2626;
}

[data-theme="light"] .hero-orb-1 {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent 70%);
}

[data-theme="light"] .hero-orb-2 {
    background: radial-gradient(circle, rgba(8, 145, 178, 0.06), transparent 70%);
}

[data-theme="light"] .hero-orb-3 {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.04), transparent 70%);
}

/* ========================================
   Responsive
   ======================================== */

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

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .consulting-hero {
        min-height: auto;
        padding: 7rem 1.5rem 3rem;
    }

    .consulting-hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .cred-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cred-number {
        font-size: 2.25rem;
    }

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

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

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .process-step {
        padding: 0 0 1.5rem;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        min-width: 2px;
        margin: 0;
        background: linear-gradient(180deg, var(--color-primary), var(--color-border));
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit {
        width: 100%;
    }

    .form-note {
        text-align: center;
    }

    .approach-quote p {
        font-size: 1.2rem;
    }

    .consulting-section {
        padding: 4rem 0;
    }

    .section-subtitle {
        margin-top: -1rem;
    }
}

@media (max-width: 480px) {
    .consulting-hero h1 {
        font-size: 1.75rem;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .cred-stats {
        grid-template-columns: 1fr 1fr;
    }

    .cred-number {
        font-size: 2rem;
    }

    .form-card {
        padding: 1.5rem 1.25rem;
    }
}
