/* ============================================
   BalanceRaum – Maintenance Page Styles
   Matches the main website's design language:
   - Open Sans (300/400/600/800)
   - Teal palette: #6d9999, #5a7f7f
   - Warm neutrals: #e8e3d8, #f5f2ec
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
        'Roboto', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    color: #333;
    line-height: 1.6;
    background-color: #e8e3d8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Top bar ---------- */

.top-bar {
    background: linear-gradient(135deg, #6d9999 0%, #5a7f7f 100%);
    color: #fff;
    padding: 10px 0;
}

.contact-info {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
}

.contact-info a {
    color: #1a3333;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    color: #0d1f1f;
    opacity: 0.8;
}

/* ---------- Hero ---------- */

.hero {
    background-color: #f5f2ec;
    padding: 60px 0 40px;
    text-align: center;
}

.hero .logo {
    max-width: 500px;
    width: 80%;
    height: auto;
    object-fit: contain;
}

/* ---------- Notice ---------- */

.notice {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
}

.notice-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6d9999 0%, #5a7f7f 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 24px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.notice h2 {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 12px;
    color: #5a7f7f;
    /* was #333 — now matches your teal brand palette */
}


.notice p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* ---------- Info cards ---------- */

.info {
    padding: 60px 0;
    background-color: #f5f2ec;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: #6d9999;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* ---------- Contact CTA ---------- */

.contact {
    background-color: #fff;
    padding: 50px 0;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background: linear-gradient(135deg, #6d9999 0%, #5a7f7f 100%);
    color: #fff;
    border: 2px solid transparent;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a7f7f 0%, #4a6b6b 100%);
}

.btn-outline {
    background: transparent;
    color: #5a7f7f;
    border: 2px solid #6d9999;
}

.btn-outline:hover {
    background: #6d9999;
    color: #fff;
    border-color: #6d9999;
}

/* ---------- Footer ---------- */

.footer {
    background-color: #f5f2ec;
    padding: 20px 0;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero .logo {
        max-width: 240px;
    }

    .notice {
        padding: 40px 0;
    }

    .notice h2 {
        font-size: 1.5rem;
    }

    .info {
        padding: 40px 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
    }
}

/* ---------- SEO: screen-reader-only utility ---------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}