.contact-section,
.callback-section {
    padding: clamp(40px, 8vw, 80px) 24px;
    text-align: center;
}

.callback-section {
    padding-top: clamp(20px, 4vw, 44px);
}

.contact-section h2,
.callback-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.contact-section > .reveal > .section-sub,
.callback-section > .reveal > .section-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 620px;
    margin: 0 auto 40px;
}

.appbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    padding: 12px 24px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.appbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.appbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.appbar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.appbar-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    justify-content: center;
}

.appbar-nav-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}

.appbar-nav-pill:hover,
.appbar-nav-pill:focus-visible {
    background: var(--accent-dim);
    color: var(--text);
    transform: translateY(-1px);
    outline: none;
}

.appbar-nav-pill--accent {
    background: var(--text);
    color: var(--bg-deep);
    font-weight: 600;
    border: 1px solid var(--border);
}

.appbar-nav-pill--accent:hover,
.appbar-nav-pill--accent:focus-visible {
    background: var(--bg-surface);
    color: var(--text);
    border-color: var(--border-hover);
}

.appbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.appbar-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.appbar-menu-toggle:hover,
.appbar-menu-toggle:focus-visible {
    color: var(--text);
    background: var(--bg-deep);
    transform: translateY(-1px);
    outline: none;
}

.appbar-nav-mobile {
    display: none;
}

.language-fab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: auto;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-toggle .prefix-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle i:not(.prefix-icon) {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
    color: var(--text);
    background: var(--bg-deep);
    transform: translateY(-1px);
    outline: none;
}

.lang-toggle i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.language-fab.open .lang-toggle i:not(.prefix-icon) {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: max-content;
    min-width: 112px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    box-shadow: var(--glass-shadow);
}

.lang-menu[hidden] {
    display: none;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: var(--bg-deep);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
    outline: none;
    background: var(--bg-surface);
    border-color: var(--border-hover);
}

.lang-option.active {
    background: var(--text);
    color: var(--bg-deep);
    border-color: var(--text);
}

.contact-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--bg-surface);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-fab:hover,
.contact-fab:focus-visible {
    transform: translateY(-1px);
    outline: none;
    color: var(--text);
    background: var(--bg-deep);
    border-color: var(--border-hover);
}

.contact-fab i {
    width: 16px;
    height: 16px;
}

@media (max-width: 960px) {
    .appbar-nav {
        display: none;
    }
}

@media (max-width: 680px) {
    .appbar {
        padding: 10px 15px;
    }

    .appbar-main {
        position: relative;
        align-items: center;
        flex-direction: row;
        gap: 12px;
    }

    .appbar-brand {
        min-width: 0;
    }

    .appbar-brand span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .appbar-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .appbar-nav-mobile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .appbar-nav-mobile .appbar-nav-pill {
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.88rem;
        border: 1px solid var(--border);
    }

    .appbar-actions {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: var(--bg-surface);
        box-shadow: var(--glass-shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .appbar-actions.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .language-fab,
    .lang-toggle {
        width: 100%;
    }

    .lang-toggle {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .lang-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
}

.contact,
.callback {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

/* Two-card layout for contact / connect modules */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 6px 20px 0;
}

/* ── Single merged card: Contact details + Connect with us ── */
.contact-connect-card.card,
.callback.card {
    width: 100%;
    max-width: 860px;
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.callback.card {
    margin-top: 24px;
    padding: 32px;
}

.contact-connect-card.card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.contact-connect-panel {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 26px;
}

.contact-connect-panel h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    text-align: left;
}

/* Vertical divider between panels */
.contact-connect-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
    flex: 0 0 auto;
}

/* ── Contact Detail Rows ── */
.contact-detail-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.3s var(--ease-out-expo);
}

.contact-detail-row:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    transform: translateX(4px);
}

.cd-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    color: var(--text);
    background: var(--bg-deep) padding-box,
        linear-gradient(135deg, var(--icon-border-start), var(--icon-border-mid), var(--icon-border-end)) border-box;
    border: 2px solid transparent;
    font-size: 1.05rem;
    transition: transform 0.3s var(--ease-out-expo), background 0.25s ease;
}

.contact-detail-row:hover .cd-icon {
    transform: scale(1.08);
    background: var(--bg-deep) padding-box,
        linear-gradient(135deg, var(--icon-border-hover-start), var(--icon-border-hover-mid), var(--icon-border-hover-end)) border-box;
}

.cd-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.cd-label {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.cd-value {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Social Pills (Connect with us) ── */
.social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-deep) padding-box,
        linear-gradient(135deg, var(--icon-border-start), var(--icon-border-mid), var(--icon-border-end)) border-box;
    border: 2px solid transparent;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    transition:
        transform 0.3s var(--ease-out-expo),
        background 0.3s ease,
        color 0.3s ease;
}

.social-pill:hover {
    transform: translateY(-3px);
    background: var(--bg-surface) padding-box,
        linear-gradient(135deg, var(--icon-border-hover-start), var(--icon-border-hover-mid), var(--icon-border-hover-end)) border-box;
    color: var(--text);
}

.social-pill i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.callback .callback-form {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.callback .callback-form .form-field label {
    color: var(--text);
}

/* ── Contact note (inside contact-details-panel) ── */
.contact-note {
    margin: 0;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.14);
    color: var(--text-muted);
    font-size: 0.80rem;
    line-height: 1.6;
    max-width: 100%;
    text-align: center;
    margin-top: auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    /* Stack panels vertically on tablet/mobile */
    .contact-connect-card.card {
        flex-direction: column;
    }

    .contact-connect-divider {
        width: auto;
        height: 1px;
        align-self: stretch;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        flex: 0 0 auto;
    }

    .contact-connect-panel {
        padding: 22px 20px;
    }
}

@media (max-width: 680px) {
    .contact-connect-card.card,
    .callback.card {
        border-radius: 14px;
    }

    .contact-connect-panel {
        padding: 20px 16px;
    }

    .contact-detail-row {
        padding: 12px 12px;
        gap: 12px;
    }

    .cd-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .cd-value {
        font-size: 0.85rem;
    }

    .social-pills {
        flex-direction: column;
    }

    .social-pill {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-cards {
        padding: 6px 10px 0;
        gap: 18px;
    }

    .contact-connect-card.card,
    .callback.card {
        border-radius: 12px;
    }

    .contact-connect-panel {
        padding: 18px 12px;
    }

    .cd-value {
        font-size: 0.82rem;
    }
}

/* ── Callback card (re-use base card style) ── */
.callback {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    box-shadow: none;
    position: relative;
    overflow: visible;
    text-align: left;
    border-radius: 20px;
    padding: 36px 32px;
}

.callback h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    text-align: center;
}

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

.form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

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

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-field textarea {
    min-height: 100px;
    resize: vertical;
}

.callback-submit {
    margin-top: 4px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--text);
    color: var(--bg-deep);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition:
        transform 0.35s var(--ease-out-expo),
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.callback-submit:hover {
    transform: translateY(-2px);
    background: var(--bg-surface);
    color: var(--text);
    border-color: var(--border-hover);
}

.callback-submit:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.callback-submit:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.form-status {
    font-size: 0.85rem;
    text-align: center;
    min-height: 1.25em;
    color: var(--accent);
}

.form-status.is-error {
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 24px 16px 40px;
    color: #71717a;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.footer-nav {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    align-items: center;
}

.footer-nav a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-nav span {
    color: #52525b;
    user-select: none;
}

/* ── Theme Switcher Toggle ── */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    color: var(--text);
    background: var(--bg-deep);
    border-color: var(--border-hover);
    transform: translateY(-1px);
    outline: none;
}

