/* Explain: Styles for UI components like buttons, cards, forms, and the AI chat interface. */
.site-header {
    background: rgba(5, 11, 26, 0.72);
    backdrop-filter: blur(18px);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background: linear-gradient(140deg, #1E6BFF, #0B3A8C 55%, #F5C542);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 12px 26px rgba(30, 107, 255, 0.35);
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    transition: color 300ms ease;
}

.nav-link::after {
    position: absolute;
    right: 100%;
    bottom: -0.45rem;
    left: 0;
    height: 2px;
    background: var(--accent-color);
    content: "";
    transition: right 300ms ease;
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-link:hover::after {
    right: 0;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--accent-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(160deg, rgba(16, 31, 61, 0.88), rgba(8, 17, 36, 0.82));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent-color), #FFDE7A);
    color: #08111F;
    font-weight: 700;
    padding: 0.85rem 1.6rem;
    box-shadow: var(--shadow-button);
    transition: transform 300ms ease, box-shadow 300ms ease, filter 300ms ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 20px 50px rgba(245, 197, 66, 0.42);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    color: var(--text-color);
    font-weight: 600;
    padding: 0.85rem 1.6rem;
    backdrop-filter: blur(12px);
    transition: border-color 300ms ease, background 300ms ease, transform 300ms ease;
}

.btn-ghost:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.text-gradient-gold {
    background: linear-gradient(100deg, #FFE9A8, var(--accent-color) 45%, #E0A61C);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: linear-gradient(160deg, rgba(16, 31, 61, 0.92), rgba(8, 17, 36, 0.86));
    padding: 1.75rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 197, 66, 0.5);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid rgba(30, 107, 255, 0.35);
    border-radius: 1rem;
    background: rgba(30, 107, 255, 0.16);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    background: rgba(16, 31, 61, 0.7);
    padding: 1.1rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: var(--surface-color);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 197, 66, 0.5);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.browser-mock {
    border-bottom: 1px solid var(--border-color);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(16, 31, 61, 0.92);
}

.browser-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(234, 241, 255, 0.22);
}

.browser-dot:nth-child(1) {
    background: rgba(255, 105, 97, 0.8);
}

.browser-dot:nth-child(2) {
    background: rgba(245, 197, 66, 0.8);
}

.browser-dot:nth-child(3) {
    background: rgba(123, 224, 168, 0.8);
}

.browser-url {
    margin-left: 0.6rem;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-body {
    display: flex;
    min-height: 11rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background:
        radial-gradient(circle at 50% 40%, rgba(30, 107, 255, 0.20), transparent 70%),
        var(--surface-2);
}

.portfolio-card .aspect-video {
    border-bottom: 1px solid var(--border-color);
}

.logo-frame {
    display: flex;
    width: 6rem;
    height: 6rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.35rem;
    background: #ffffff;
    padding: 0.9rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(30, 107, 255, 0.16);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.quote-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: linear-gradient(160deg, rgba(16, 31, 61, 0.9), rgba(8, 17, 36, 0.84));
    padding: 1.75rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.field-input {
    width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: var(--field-bg);
    padding: 0.9rem 1.1rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.field-input::placeholder {
    color: var(--text-muted);
}

.field-input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.18);
}

select.field-input {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--secondary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath stroke='%23F5C542' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 0.8rem;
    color: var(--accent-color);
    padding-right: 3rem;
    color-scheme: dark;
}

.field-input option {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.form-status.success {
    color: #7BE0A8;
}

.form-status.error {
    color: #FF8A80;
}

.star-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.review-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 0.9rem;
    background: var(--field-bg);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 300ms ease, border-color 300ms ease, background 300ms ease, transform 300ms ease;
}

.review-star:hover {
    border-color: rgba(245, 197, 66, 0.5);
    transform: translateY(-2px);
}

.review-star.is-on {
    border-color: rgba(245, 197, 66, 0.55);
    background: rgba(245, 197, 66, 0.16);
    color: var(--accent-color);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    background: rgba(16, 31, 61, 0.7);
    padding: 1.15rem;
    transition: border-color 300ms ease, transform 300ms ease;
}

a.contact-card:hover {
    border-color: rgba(245, 197, 66, 0.5);
    transform: translateY(-3px);
}

.whatsapp-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: linear-gradient(140deg, #25D366, #128C7E);
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.42);
    transition: transform 300ms ease;
}

.whatsapp-fab:hover {
    transform: translateY(-3px) scale(1.05);
}

.music-toggle {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--accent-color);
    font-size: 1.1rem;
    box-shadow: 0 16px 40px rgba(30, 107, 255, 0.42);
    transition: transform 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.music-toggle:hover {
    transform: translateY(-3px) scale(1.05);
}

.music-toggle.is-playing {
    background: linear-gradient(140deg, var(--primary-color), var(--secondary-color));
    animation: musicPulse 2.4s ease-in-out infinite;
}

.music-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.music-toggle-icon .fa-music {
    display: none;
}

.music-toggle-icon .fa-volume-xmark {
    display: inline-block;
}

.music-toggle.is-playing .music-toggle-icon .fa-music {
    display: inline-block;
}

.music-toggle.is-playing .music-toggle-icon .fa-volume-xmark {
    display: none;
}

@keyframes musicPulse {
    0%,
    100% {
        box-shadow: 0 16px 40px rgba(30, 107, 255, 0.42);
    }
    50% {
        box-shadow: 0 16px 52px rgba(245, 197, 66, 0.6);
    }
}

@media (prefers-reduced-motion: reduce) {
    .music-toggle.is-playing {
        animation: none;
    }
}

@media (max-width: 480px) {
    .music-toggle {
        left: 0.75rem;
        bottom: 0.75rem;
    }
}

.page-intro {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(30, 107, 255, 0.35), transparent 34rem),
        linear-gradient(180deg, #071026, var(--background-color));
    animation: introExit 520ms ease 1250ms forwards;
}

.page-intro-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.page-intro-glow {
    position: absolute;
    top: -3rem;
    width: 17rem;
    height: 17rem;
    border-radius: 999px;
    background: var(--glow-blue);
    filter: blur(60px);
    opacity: 0.85;
}

.page-intro-logo {
    position: relative;
    width: 7rem;
    height: 7rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(245, 197, 66, 0.35), 0 22px 60px rgba(30, 107, 255, 0.5);
    animation: introLogo 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.page-intro-name {
    position: relative;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    animation: introFade 650ms ease 220ms both;
}

.page-intro-bar {
    position: relative;
    width: 9rem;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.page-intro-bar > span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    animation: introBar 1150ms ease-in-out both;
}

@keyframes introLogo {
    from {
        opacity: 0;
        transform: scale(0.55) translateY(10px);
    }
    60% {
        opacity: 1;
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes introFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes introBar {
    from {
        transform: translateX(-120%);
    }
    to {
        transform: translateX(250%);
    }
}

@keyframes introExit {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-intro {
        animation-delay: 350ms;
    }

    .page-intro-logo,
    .page-intro-name,
    .page-intro-bar > span {
        animation: none;
    }
}

.package-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: linear-gradient(160deg, rgba(16, 31, 61, 0.92), rgba(8, 17, 36, 0.86));
    padding: 1.75rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 197, 66, 0.5);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.package-card.is-featured {
    border-color: rgba(245, 197, 66, 0.6);
    box-shadow: 0 24px 60px rgba(245, 197, 66, 0.22);
}

.package-tag {
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.package-card.is-featured .package-tag {
    border-color: rgba(245, 197, 66, 0.55);
    color: var(--accent-color);
}

.ai-chat-fab {
    position: fixed;
    right: 1rem;
    bottom: 5.25rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    padding: 0;
    box-shadow: 0 16px 40px rgba(30, 107, 255, 0.42);
    transition: transform 300ms ease;
}

.ai-chat-fab:hover {
    transform: translateY(-3px) scale(1.05);
}

.ai-chat-fab-logo {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
}

.ai-chat-fab-badge {
    position: absolute;
    right: -0.15rem;
    bottom: -0.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: linear-gradient(140deg, var(--accent-color), #FFDE7A);
    color: #08111F;
    font-size: 0.65rem;
    box-shadow: 0 6px 16px rgba(245, 197, 66, 0.5);
}

.ai-chat {
    position: fixed;
    right: 1rem;
    bottom: 9.5rem;
    z-index: 60;
    display: none;
    width: min(calc(100vw - 2rem), 22rem);
}

.ai-chat.is-open {
    display: block;
}

.ai-chat-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: min(70vh, 34rem);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: linear-gradient(160deg, rgba(16, 31, 61, 0.98), rgba(8, 17, 36, 0.96));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.ai-chat-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.ai-chat-head-logo {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    object-fit: cover;
}

.ai-chat-title {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.ai-chat-sub {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.ai-chat-dot {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #7BE0A8;
}

.ai-chat-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    color: var(--text-color);
    transition: background 300ms ease;
}

.ai-chat-close:hover {
    background: var(--surface-2);
}

.ai-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 12rem;
    overflow-y: auto;
    padding: 1rem;
}

.ai-chat-msg {
    max-width: 85%;
    border-radius: 1rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-chat-msg.is-bot {
    align-self: flex-start;
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 0.3rem;
    background: rgba(30, 107, 255, 0.14);
    color: var(--text-color);
}

.ai-chat-msg.is-user {
    align-self: flex-end;
    border-bottom-right-radius: 0.3rem;
    background: linear-gradient(120deg, var(--accent-color), #FFDE7A);
    color: #08111F;
    font-weight: 600;
}

.ai-chat-msg.is-typing {
    color: var(--text-muted);
}

.ai-chat-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.ai-chat-input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    padding: 0.7rem 1rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.ai-chat-input::placeholder {
    color: var(--text-muted);
}

.ai-chat-input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.18);
}

.ai-chat-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent-color), #FFDE7A);
    color: #08111F;
    font-size: 0.9rem;
    transition: transform 300ms ease, filter 300ms ease;
}

.ai-chat-send:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.ai-chat-view {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.ai-chat-view[hidden],
.ai-chat-lead[hidden] {
    display: none;
}

.ai-chat-view .ai-chat-messages {
    flex: 1 1 auto;
}

.ai-chat-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0.75rem 0.5rem;
    min-height: 2.5rem;
    border: 1px solid rgba(245, 197, 66, 0.45);
    border-radius: 999px;
    background: rgba(245, 197, 66, 0.12);
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 300ms ease, transform 300ms ease;
}

.ai-chat-offer:hover {
    background: rgba(245, 197, 66, 0.22);
    transform: translateY(-1px);
}

.ai-chat-lead {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
}

.ai-chat-lead-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.ai-chat-lead-form {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
}

.ai-chat-lead-intro {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.ai-chat-label {
    margin-top: 0.35rem;
    color: var(--text-color);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-chat-field {
    width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 0.85rem;
    background: var(--field-bg);
    padding: 0.6rem 0.85rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.ai-chat-field::placeholder {
    color: var(--text-muted);
}

.ai-chat-field:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.18);
}

select.ai-chat-field {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--secondary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath stroke='%23F5C542' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 0.7rem;
    color: var(--accent-color);
    padding-right: 2.4rem;
    color-scheme: dark;
}

select.ai-chat-field option {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.ai-chat-textarea {
    min-height: 4.5rem;
    resize: vertical;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ai-chat {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 9rem;
        width: auto;
    }

    .ai-chat-fab,
    .whatsapp-fab {
        right: 0.75rem;
    }
}

.lang-switch {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.lang-switch--mobile {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.5rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--field-bg);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: border-color 300ms ease, color 300ms ease, background 300ms ease, transform 300ms ease;
}

.lang-flag:hover {
    border-color: rgba(245, 197, 66, 0.5);
    color: var(--text-color);
    transform: translateY(-1px);
}

.lang-flag.is-active {
    border-color: var(--accent-color);
    background: rgba(245, 197, 66, 0.16);
    color: var(--accent-color);
}

.lang-flag-icon {
    display: inline-flex;
    width: 1.3rem;
    height: 0.85rem;
    overflow: hidden;
    border-radius: 0.2rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lang-flag-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lang-flag-code {
    line-height: 1;
}

.text-logo-metal {
    background: linear-gradient(180deg, #FFF6D0 0%, #F5C542 28%, #C9971F 52%, #FFE27A 72%, #E0A61C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(30, 107, 255, 0.6)) drop-shadow(0 0 2px rgba(245, 197, 66, 0.55));
}