:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #2f5ea8;
    --accent-hover: #264a8a;
    --text: #1a202c;
    --text-light: #4a5568;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 16px 0;
    border-bottom: 3px solid var(--accent);
    position: sticky;
    top: 0;
    background: var(--primary);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    letter-spacing: 0.01em;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    height: 40px;
    /* TODO: Replace with white logo SVG instead of using filter */
    filter: brightness(0) invert(1);
}

.header-nav {
    display: flex;
    gap: 24px;
}

.header-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: white;
}

.header-nav a.active {
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-portal-link {
    color: white;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    background: var(--accent);
    transition: all 0.2s;
}

.header-portal-link:hover {
    background: var(--accent-hover);
}

.lang-toggle {
    display: flex;
    gap: 8px;
}

.lang-toggle a {
    padding: 6px 12px;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.lang-toggle a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.lang-toggle a.active {
    background: var(--accent);
    color: white;
}

/* Hero */
.hero {
    padding: 88px 0 72px;
    text-align: center;
    background: linear-gradient(180deg, #e6eef8 0%, #edf3fa 60%, #ffffff 100%);
    position: relative;
    border-top: 4px solid var(--accent);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 280px;
    background: radial-gradient(ellipse at 50% 0%, rgba(47, 94, 168, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.hero .container {
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero .hero-subtitle {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 28px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero .hero-qualifier {
    display: inline-block;
    font-size: 0.8125rem;
    color: var(--accent);
    background: rgba(47, 94, 168, 0.08);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 24px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(47, 94, 168, 0.15);
}

.hero .subline {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 400;
}

.hero .hero-note {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 8px;
}

.hero .cta {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(47, 94, 168, 0.3);
}

.hero .cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 94, 168, 0.4);
}

/* Sections */
section {
    padding: 64px 0;
}

section:nth-child(even) {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

section h2 {
    font-size: 1.875rem;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

section > .container > p {
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

.services-grid .service-card {
    flex: 1 1 300px;
    max-width: 100%;
}

.services-grid .service-card-wide {
    flex: 1 1 100%;
}

.service-card {
    background: white;
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--accent);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.service-card p {
    flex-grow: 1;
}

.service-card .card-cta {
    align-self: flex-start;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.12);
}

section:nth-child(even) .service-card {
    background: white;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.125rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.card-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    background: var(--accent);
    color: #fff;
    transition: all 0.2s;
}

.card-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.card-cta.disabled {
    background: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
    pointer-events: none;
}

/* How It Works */
.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 40px auto 0;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 1.125rem;
    box-shadow: 0 6px 16px rgba(26, 54, 93, 0.2);
}

.step-content h3 {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 4px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.benefit {
    text-align: center;
}

.benefit h3 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.benefit p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* Security */
.security-list {
    max-width: 640px;
    margin: 32px auto 0;
    list-style: none;
    background: white;
    border-radius: 16px;
    padding: 8px 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.security-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    padding-left: 32px;
    position: relative;
    font-size: 0.9375rem;
}

.security-list li:last-child {
    border-bottom: none;
}

.security-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
    background: var(--accent);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Capabilities */
.capabilities-section {
    background: var(--bg-alt);
}

.capabilities-list {
    max-width: 700px;
    margin: 24px auto 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px 32px;
}

.capabilities-list li {
    color: var(--text-light);
    font-size: 0.9375rem;
    padding-left: 24px;
    position: relative;
}

.capabilities-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Audience */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.audience-card {
    background: white;
    padding: 36px 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.12);
}

.audience-card .icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.2);
}

.audience-card h3 {
    color: var(--primary);
    font-size: 1.0625rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.audience-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

section:nth-child(even) .audience-card {
    background: white;
}

/* CTA Section */
.cta-section,
section.cta-section,
section:nth-child(even).cta-section,
section:nth-child(odd).cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%) !important;
    color: white;
}

.cta-section h2,
section.cta-section h2 {
    color: #ffffff !important;
    margin-bottom: 16px;
}

.cta-section p,
section.cta-section p {
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta {
    background: var(--accent);
    color: white;
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.cta-section .cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    padding: 40px 0 32px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.875rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.footer-nav a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

footer p {
    color: var(--text-light);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-tagline {
        display: none;
    }

    .hero {
        padding: 40px 0 32px;
    }

    .hero h1 {
        font-size: 1.875rem;
        line-height: 1.25;
    }

    .hero .hero-subtitle {
        font-size: 1.875rem;
        margin-bottom: 20px;
    }

    .hero .hero-qualifier {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .hero .subline {
        font-size: 1rem;
    }

    .hero .hero-note {
        font-size: 0.875rem;
    }

    /* Better mobile grid - 2 columns where possible */
    .services-grid {
        gap: 16px;
    }

    .services-grid .service-card {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .services-grid .service-card-wide {
        flex: 1 1 100%;
    }


    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.375rem;
        margin-bottom: 20px;
    }

    section > .container > p {
        font-size: 0.9375rem;
        margin-bottom: 20px;
    }

    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 16px;
        margin-top: 24px;
    }

    .services-grid .service-card,
    .services-grid .service-card-wide {
        flex: none !important;
        width: 100% !important;
    }

    .service-card {
        padding: 24px 20px;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }

    .steps {
        margin-top: 24px;
        gap: 20px;
    }

    .benefits-grid {
        gap: 24px;
        margin-top: 24px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    .audience-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 20px;
        gap: 16px;
    }

    .audience-card .icon {
        margin: 0;
        flex-shrink: 0;
    }

    .audience-card h3 {
        margin-bottom: 4px;
    }

    .cta-section {
        padding: 48px 0 !important;
    }

    .capabilities-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-nav {
        gap: 24px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .logo img {
        height: 32px;
    }

    .lang-toggle a {
        padding: 5px 10px;
        font-size: 0.8125rem;
    }

    .hero {
        padding: 32px 0 24px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .hero .hero-qualifier {
        font-size: 0.6875rem;
        padding: 6px 14px;
    }

    .hero .subline {
        font-size: 0.875rem;
    }

    .hero .hero-note {
        font-size: 0.8125rem;
    }

    section {
        padding: 32px 0;
    }

    section h2 {
        font-size: 1.25rem;
    }

    .service-card {
        padding: 20px 16px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .card-cta {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .step {
        gap: 12px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .step-content h3 {
        font-size: 0.9375rem;
    }

    .step-content p {
        font-size: 0.875rem;
    }

    .benefit h3 {
        font-size: 0.9375rem;
    }

    .benefit p {
        font-size: 0.875rem;
    }

    .audience-card .icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .audience-card h3 {
        font-size: 0.9375rem;
        margin-bottom: 2px;
    }

    .audience-card p {
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .security-list li {
        font-size: 0.875rem;
        padding: 10px 0 10px 24px;
    }

    .capabilities-list li {
        font-size: 0.875rem;
    }

    .cta-section {
        padding: 40px 0 !important;
    }

    .cta-section h2 {
        font-size: 1.25rem !important;
    }

    .cta-section p {
        font-size: 0.9375rem !important;
    }

    .cta-section .cta {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-nav a {
        font-size: 0.875rem;
    }

    footer {
        padding: 32px 0 24px;
    }

    footer p {
        font-size: 0.8125rem;
    }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-section .cta.cta-secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}

.cta-section .cta.cta-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Try It Expandable Panel */
.try-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
}

.try-panel > .try-panel-content {
    overflow: hidden;
    min-height: 0;
}

.try-panel.expanded {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 48px;
}

.try-panel-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    text-align: left;
}

/* Demo Context */
.demo-context {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.demo-context h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 8px;
    text-align: center;
}

.demo-context > p {
    color: var(--text-light) !important;
    text-align: center;
    margin-bottom: 16px !important;
}

.demo-info-box {
    background: #547abd !important;
    border: 1px solid #547abd !important;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 auto 8px;
    max-width: 420px;
}

.demo-info-box p {
    color: #166534 !important;
    font-size: 0.9rem !important;
    line-height: 1.5;
    margin: 0 !important;
    text-align: left !important;
}

.demo-info-box p + p {
    margin-top: 10px !important;
}

.demo-mfi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.demo-mfi strong {
    color: var(--primary);
    font-size: 1.125rem;
}

.demo-badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.demo-loan-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.demo-detail {
    text-align: center;
}

.demo-detail .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.demo-detail .value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
}

/* Try Form in Panel */
.try-panel .try-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(47, 94, 168, 0.15);
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 6px;
}

.form-group-name {
    flex: 1;
}

.name-input-wrap {
    display: flex;
    gap: 8px;
}

.name-input-wrap input {
    flex: 1;
}

.name-refresh {
    width: 44px;
    height: 44px;
    border: 1px solid var(--stroke);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-light);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.name-refresh:hover {
    background: #f8fafc;
    border-color: var(--accent);
    color: var(--accent);
}

.name-refresh:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 12px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.demo-list {
    margin: 12px 0 0 20px;
    padding: 0;
    color: var(--text);
}

.demo-list li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.try-form .cta {
    width: 100%;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.try-form .cta:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

.try-result {
    margin-top: 24px;
}

.result-success,
.result-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 500;
}

.result-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.result-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.result-success svg {
    color: #22c55e;
}

.result-error svg {
    color: #ef4444;
}

/* Try Panel & Form Mobile */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .cta {
        width: 100%;
        max-width: 280px;
    }

    .try-panel.expanded {
        margin-top: 32px;
    }

    .try-panel-content {
        padding: 24px 20px;
    }

    .demo-loan-details {
        gap: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .try-form {
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .try-panel-content {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .demo-context h3 {
        font-size: 1.125rem;
    }

    .demo-mfi strong {
        font-size: 1rem;
    }

    .demo-loan-details {
        gap: 16px;
    }

    .demo-detail .value {
        font-size: 1rem;
    }

    .form-group input,
    .form-group select {
        padding: 10px 14px;
        font-size: 0.9375rem;
    }

    .try-form .cta {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    .result-success,
    .result-error {
        padding: 12px 16px;
        font-size: 0.875rem;
    }
}

/* Contact Us Expandable Panel */
.contact-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
}

.contact-panel > .contact-panel-content {
    overflow: hidden;
    min-height: 0;
}

.contact-panel.expanded {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 48px;
}

.contact-panel-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    text-align: left;
}

.contact-panel-content h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 8px;
    text-align: center;
}

.contact-panel-content > p {
    color: var(--text-light) !important;
    text-align: center;
    margin-bottom: 24px !important;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group-full {
    flex: 1 1 100%;
}

.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(47, 94, 168, 0.15);
}

.contact-form .cta {
    width: 100%;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 8px;
}

.contact-form .cta:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-result {
    margin-top: 24px;
}

/* Contact Panel Mobile */
@media (max-width: 768px) {
    .contact-panel.expanded {
        margin-top: 32px;
    }

    .contact-panel-content {
        padding: 24px 20px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .contact-panel-content {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .contact-panel-content h3 {
        font-size: 1.125rem;
    }

    .contact-form textarea {
        padding: 10px 14px;
        font-size: 0.9375rem;
    }

    .contact-form .cta {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
}