/* ============================================================
   ROOMS.CSS ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â Room chrome (back pill, room container, bloom)
   This styles the navigation shell that wraps all room content.
   ============================================================ */

/* --- Room Navigation & Bloom Trigger --- */
#app-container {
    background: transparent;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: block;
}

html.room-open,
body.room-open {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body.room-open {
    position: static;
}

body.room-open #app-container {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
}

body.room-open .room-content {
    position: relative;
    inset: auto;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
}

body.room-open .back-pill,
body.room-open .bloom-container {
    position: fixed;
}

html.clarity-modal-open,
body.clarity-modal-open {
    overflow: hidden;
}

html.clarity-modal-open body.room-open .back-pill,
html.clarity-modal-open body.room-open .bloom-container,
html.talk-modal-open body.room-open .back-pill,
html.talk-modal-open body.room-open .bloom-container,
html.wizard-modal-open body.room-open .back-pill,
html.wizard-modal-open body.room-open .bloom-container,
html.resume-sheet-open body.room-open .back-pill,
html.resume-sheet-open body.room-open .bloom-container {
    opacity: 0;
    pointer-events: none;
}

.back-pill {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top, 0px));
    left: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-orange); /* Changed from blue to orange */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border-radius: 30px;
    padding: 8px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.back-pill .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    color: var(--color-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.back-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 191, 255, 0.3);
}

.back-pill:hover .arrow {
    transform: translateX(-4px);
}

.back-pill:active {
    transform: scale(0.95);
}

.room-content {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: calc(92px + env(safe-area-inset-top, 0px)) 20px 20vh 20px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-family: var(--font-body);
}

.room-content.wizard-room-content {
    padding-top: calc(92px + env(safe-area-inset-top, 0px));
}

.room-content h2 {
    font-family: var(--font-heading);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
    margin-bottom: 20px;
}

/* --- Bloom Container --- */
.bloom-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.bloom-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Make all buttons same width */
    gap: 8px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: translateY(0) scale(1);
    width: max-content; /* Size to fit the longest text */
    pointer-events: auto;
}

.bloom-menu.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.8);
}

.bloom-item {
    background: rgba(255, 255, 255, 0.85); /* Frosted white glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--color-navy); /* Navy text */
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    width: 100%;
    white-space: nowrap;
}

.bloom-item-icon {
    font-size: 1.2rem;
    color: var(--color-orange); /* Orange icons */
    text-shadow: none;
    width: 20px;
    text-align: center;
}

.bloom-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 12px 25px rgba(0,0,0,0.5), 
        0 0 15px rgba(255, 255, 255, 0.3);
    border-top: 1px solid #fff;
}

.bloom-item:active {
    transform: translateY(1px) scale(0.98);
    background: var(--color-orange);
    color: #fff;
    border-color: var(--color-orange);
}

.bloom-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(0, 0, 40, 0.8); /* Dark glass */
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-orange);
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.4), inset 0 0 10px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px; 
    position: relative;
    animation: pulseBloom 3s infinite;
    pointer-events: auto;
}

@keyframes pulseBloom {
    0% { box-shadow: 0 0 15px rgba(255, 102, 0, 0.4), inset 0 0 10px rgba(0,0,0,0.5); }
    50% { box-shadow: 0 0 25px rgba(255, 102, 0, 0.8), inset 0 0 10px rgba(0,0,0,0.5); transform: scale(1.05); }
    100% { box-shadow: 0 0 15px rgba(255, 102, 0, 0.4), inset 0 0 10px rgba(0,0,0,0.5); }
}

.bloom-icon {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255,102,0,0.5));
    transition: all 0.4s ease;
    position: absolute;
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.bloom-close-icon {
    font-size: 2.5rem;
    color: #fff;
    position: absolute;
    transform: scale(0) rotate(-90deg);
    opacity: 0;
    transition: all 0.4s ease;
}

.bloom-btn.active .bloom-icon {
    transform: scale(0) rotate(90deg);
    opacity: 0;
}

.bloom-btn.active .bloom-close-icon {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.bloom-btn.active {
    background: rgba(255, 102, 0, 0.9);
    border-color: #fff;
    animation: none; /* Stop pulsing when open */
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.6);
}

/* --- Uniform Room Typography --- */
.wizard-step {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 0.8s ease forwards;
}

@media (max-width: 640px) {
    .room-content.wizard-room-content {
        padding-top: calc(88px + env(safe-area-inset-top, 0px));
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-title {
    font-family: var(--font-heading);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.wizard-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.room-placeholder {
    text-align: center;
    color: var(--color-orange);
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* --- Clarity First Next-Gen UI --- */
.clarity-content-wrapper {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 80px;
    text-align: left;
}

/* Hero Section */
.clarity-hero {
    text-align: left;
    margin-bottom: 10px;
}

.hero-line {
    width: 40px;
    height: 4px;
    background: var(--color-orange);
    margin-bottom: 15px;
    box-shadow: 0 0 10px var(--color-orange-glow);
}

.glitch-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0;
    color: #fff;
    line-height: 1.05;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-orange);
    margin-top: 10px;
}

/* Manifesto Card */
.manifesto-card {
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.2), rgba(0, 0, 40, 0.4));
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--color-orange);
    padding: 20px;
    border-radius: 4px 20px 20px 4px;
    text-align: left;
}

.manifesto-card p {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.manifesto-card p:last-child {
    margin-bottom: 0;
}

.manifesto-note {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.highlight {
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.orange-glow {
    color: var(--color-orange);
    text-shadow: 0 0 15px var(--color-orange-glow);
    font-weight: 700;
}

/* DNA / Values Grid */
.dna-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
    width: fit-content;
}

.dna-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.values-compact {
    grid-template-columns: repeat(3, 1fr);
}

.dna-item {
    background: rgba(255,255,255,0.03);
    padding: 14px 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.dna-item:hover {
    background: rgba(255, 102, 0, 0.05);
    border-color: var(--color-orange);
    transform: translateY(-3px);
}

.dna-icon {
    font-size: 1.2rem;
    color: var(--color-orange);
}

.dna-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.8);
    text-align: center;
}

/* Service Modules */
.services-hub {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.module-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-module {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-module:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0, 191, 255, 0.3);
    transform: scale(1.02);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.module-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-orange);
    opacity: 0.6;
}

.service-module h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    flex-grow: 1;
    letter-spacing: 0.5px;
}

.module-interval {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-orange);
    letter-spacing: 0.5px;
    margin: 0 0 6px 32px;
}

.module-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.45;
    padding-left: 32px;
    margin: 0;
}

.module-info-trigger {
    background: none;
    border: none;
    color: var(--color-orange);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.module-info-trigger:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Mini Modules */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.66rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    text-align: center;
}

.mini-item i {
    font-size: 1.2rem;
}

/* Terminal Actions */
.terminal-actions {
    margin-top: 8px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.terminal-header {
    background: rgba(255, 102, 0, 0.1);
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 1.8px;
    color: var(--color-orange);
}

.terminal-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-stack {
    gap: 12px;
}

.contact-line {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}

.terminal-btn-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 4px;
    align-items: stretch;
}

.terminal-btn {
    min-height: 56px;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 22px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.terminal-btn i {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex: 0 0 auto;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 4px 10px rgba(0, 0, 0, 0.2);
}

.terminal-actions .terminal-btn-group .terminal-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.clarity-terminal-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.clarity-terminal-btn-group .terminal-btn {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    gap: 8px;
    font-size: 0.76rem;
    padding: 10px 14px;
}

.clarity-terminal-btn-group .terminal-btn:last-child:nth-child(odd) {
    grid-column: auto;
}

.talk-room-layout {
    max-width: 560px;
    padding-top: 6px;
}

.talk-room-hero {
    gap: 8px;
    margin-bottom: 8px;
    align-items: flex-start;
    text-align: left;
}

.talk-room-hero .hero-line {
    margin-inline: 0;
}

.talk-room-instruction {
    margin: 0;
    width: 100%;
    max-width: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: left;
}

.talk-cluster-panel {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(10, 18, 44, 0.7), rgba(3, 7, 20, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -14px 28px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(0, 51, 160, 0.08),
        0 26px 48px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
}

.talk-cluster-panel::before {
    content: "";
    position: absolute;
    inset: 86px;
    border-radius: 50%;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 62%),
        radial-gradient(circle, rgba(0, 191, 255, 0.05), rgba(0, 191, 255, 0) 74%);
    box-shadow:
        0 0 18px rgba(0, 191, 255, 0.05),
        0 0 24px rgba(255, 102, 0, 0.035),
        inset 0 0 24px rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.talk-cluster-frame {
    position: absolute;
    border-radius: 24px;
    pointer-events: none;
}

.talk-cluster-frame-outer {
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 18%),
        linear-gradient(180deg, rgba(8, 10, 14, 0.12), rgba(8, 10, 14, 0));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 18px rgba(0, 191, 255, 0.05),
        inset 0 0 26px rgba(255, 102, 0, 0.028);
}

.talk-cluster-frame-inner {
    inset: 112px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02),
        0 0 16px rgba(255, 255, 255, 0.03),
        inset 0 0 24px rgba(0, 191, 255, 0.02);
}

.talk-cluster-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        ". top ."
        "left center right"
        ". bottom .";
    align-items: center;
    justify-items: center;
    z-index: 1;
}

.cluster-top { grid-area: top; }
.cluster-left { grid-area: left; }
.cluster-center { grid-area: center; }
.cluster-right { grid-area: right; }
.cluster-bottom { grid-area: bottom; }

.cluster-button {
    --tx: 0px;
    --ty: 0px;
    --icon-glow-soft: rgba(255, 255, 255, 0.16);
    --icon-glow-strong: rgba(255, 255, 255, 0.3);
    position: relative;
    width: 42%;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border: none;
    background: transparent;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease, text-shadow 0.18s ease;
    transform: translate(var(--tx), var(--ty));
    z-index: 1;
}

.cluster-button:hover,
.cluster-button:focus-visible {
    transform: translate(var(--tx), calc(var(--ty) - 2px));
    filter: brightness(1.02);
}

.cluster-top { --ty: -24px; }
.cluster-left { --tx: -24px; }
.cluster-right { --tx: 24px; }
.cluster-bottom { --ty: 24px; }

.cluster-button i,
.cluster-button span {
    position: relative;
    z-index: 2;
}

.cluster-button i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.09);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 12px rgba(0, 0, 0, 0.16),
        0 0 12px var(--icon-glow-soft),
        0 0 22px color-mix(in srgb, var(--icon-glow-soft) 60%, transparent);
    color: #fff;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation:
        clusterIconFloat 2.9s ease-in-out infinite,
        clusterIconPulse 3.8s ease-in-out infinite;
}

.cluster-button span:last-child {
    max-width: 8ch;
    line-height: 1.05;
    padding-inline: 4px;
    color: #fff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.22),
        0 0 8px rgba(255, 255, 255, 0.04);
}

.cluster-disc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -4px 0 rgba(0, 0, 0, 0.18),
        0 14px 24px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cluster-disc::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 22%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 42%);
    animation: clusterSheen 8s linear infinite;
}

.cluster-disc::after {
    content: "";
    position: absolute;
    inset: auto 12% 10% 12%;
    height: 12%;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.14);
    filter: blur(8px);
}

.cluster-disc-whatsapp {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(37, 211, 102, 0.16), rgba(37, 211, 102, 0.05));
    border-color: rgba(37, 211, 102, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -4px 0 rgba(0, 0, 0, 0.18),
        0 0 14px rgba(37, 211, 102, 0.06),
        0 14px 22px rgba(0, 0, 0, 0.2);
}

.cluster-disc-call {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(0, 191, 255, 0.15), rgba(0, 51, 160, 0.06));
    border-color: rgba(0, 191, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -4px 0 rgba(0, 0, 0, 0.18),
        0 0 14px rgba(0, 191, 255, 0.06),
        0 14px 22px rgba(0, 0, 0, 0.2);
}

.cluster-disc-information {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(240, 245, 255, 0.12), rgba(160, 190, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -4px 0 rgba(0, 0, 0, 0.16),
        0 0 18px rgba(255, 255, 255, 0.08),
        0 0 18px rgba(0, 191, 255, 0.06),
        0 14px 22px rgba(0, 0, 0, 0.2);
}

.cluster-disc-email {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(255, 102, 0, 0.16), rgba(255, 102, 0, 0.05));
    border-color: rgba(255, 102, 0, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -4px 0 rgba(0, 0, 0, 0.18),
        0 0 14px rgba(255, 102, 0, 0.06),
        0 14px 22px rgba(0, 0, 0, 0.2);
}

.cluster-disc-map {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, rgba(255, 84, 110, 0.14), rgba(191, 38, 72, 0.05));
    border-color: rgba(255, 84, 110, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -4px 0 rgba(0, 0, 0, 0.18),
        0 0 14px rgba(255, 84, 110, 0.05),
        0 14px 22px rgba(0, 0, 0, 0.2);
}

.cluster-top,
.cluster-left,
.cluster-right,
.cluster-bottom,
.cluster-center {
    color: #fff;
}

.cluster-top { --icon-glow-soft: rgba(37, 211, 102, 0.24); --icon-glow-strong: rgba(37, 211, 102, 0.44); }
.cluster-left { --icon-glow-soft: rgba(0, 191, 255, 0.24); --icon-glow-strong: rgba(0, 191, 255, 0.44); }
.cluster-center { --icon-glow-soft: rgba(255, 102, 0, 0.24); --icon-glow-strong: rgba(255, 102, 0, 0.44); }
.cluster-right { --icon-glow-soft: rgba(168, 85, 247, 0.26); --icon-glow-strong: rgba(168, 85, 247, 0.48); }
.cluster-bottom { --icon-glow-soft: rgba(255, 84, 110, 0.24); --icon-glow-strong: rgba(255, 84, 110, 0.44); }

.cluster-center {
    width: 50%;
    font-size: 0.92rem;
    font-weight: 900;
}

.cluster-center i {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 14px rgba(9, 20, 39, 0.18),
        0 0 12px var(--icon-glow-soft),
        0 0 22px color-mix(in srgb, var(--icon-glow-soft) 60%, transparent);
}

.cluster-center span:last-child {
    max-width: 10ch;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(8, 18, 36, 0.42);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 6px 14px rgba(0, 0, 0, 0.12);
}

.cluster-bottom i {
    margin-top: -11px;
}

.cluster-bottom span:last-child {
    max-width: none;
    letter-spacing: 0.5px;
    transform: translateY(-5px);
}

.cluster-top span:last-child {
    transform: translateY(-4px);
}

.cluster-button:hover i,
.cluster-button:focus-visible i {
    animation-duration: 1.8s;
    transform: translateY(-1px) scale(1.06);
}

.cluster-button:hover .cluster-disc,
.cluster-button:focus-visible .cluster-disc {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -4px 0 rgba(0, 0, 0, 0.18),
        0 0 18px rgba(255, 255, 255, 0.08),
        0 16px 28px rgba(0, 0, 0, 0.24);
}

.talk-cluster-panel::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 26px;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.04) 34%, rgba(255, 255, 255, 0) 48%);
    mix-blend-mode: screen;
    opacity: 0.85;
    animation: clusterSweep 10s ease-in-out infinite;
}

.cluster-top i { animation-delay: 0.1s, 0.1s; }
.cluster-left i { animation-delay: 0.45s, 0.45s; }
.cluster-center i { animation-delay: 0.8s, 0.8s; }
.cluster-right i { animation-delay: 1.15s, 1.15s; }
.cluster-bottom i { animation-delay: 1.5s, 1.5s; }

.cluster-top .cluster-disc::before { animation-delay: 0.1s; }
.cluster-left .cluster-disc::before { animation-delay: 0.45s; }
.cluster-center .cluster-disc::before { animation-delay: 0.8s; }
.cluster-right .cluster-disc::before { animation-delay: 1.15s; }
.cluster-bottom .cluster-disc::before { animation-delay: 1.5s; }

@keyframes clusterIconPulse {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.18),
            0 8px 12px rgba(0, 0, 0, 0.16),
            0 0 12px var(--icon-glow-soft),
            0 0 22px color-mix(in srgb, var(--icon-glow-soft) 60%, transparent);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 10px 16px rgba(0, 0, 0, 0.18),
            0 0 16px var(--icon-glow-strong),
            0 0 28px color-mix(in srgb, var(--icon-glow-strong) 65%, transparent);
    }
}

@keyframes clusterIconFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.04);
    }
}

@keyframes clusterSheen {
    0%,
    100% {
        transform: translateX(-3%) translateY(0);
        opacity: 0.82;
    }
    50% {
        transform: translateX(3%) translateY(1%);
        opacity: 1;
    }
}

@keyframes clusterSweep {
    0%,
    100% {
        transform: translateX(-10%) translateY(-2%);
        opacity: 0.4;
    }
    50% {
        transform: translateX(8%) translateY(2%);
        opacity: 0.9;
    }
}

.room-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 260;
    padding: calc(92px + env(safe-area-inset-top, 0px)) 20px 20px;
}

.room-modal.active {
    display: flex;
}

.room-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 10, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.room-modal-dialog {
    position: relative;
    width: min(100%, 680px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    z-index: 1;
    filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.42));
}

.room-modal-dialog-wide {
    width: min(100%, 760px);
}

.gps-modal-dialog {
    width: min(calc(100vw - 32px), 880px);
}

.modal-wizard-app {
    width: 100%;
}

.room-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}

html.talk-modal-open,
body.talk-modal-open,
html.wizard-modal-open,
body.wizard-modal-open {
    overflow: hidden;
}

.resume-sheet {
    position: fixed;
    inset: 0;
    z-index: 290;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 10, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.resume-sheet-card {
    width: min(100%, 340px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(0, 0, 40, 0.96), rgba(0, 0, 12, 0.96));
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resume-sheet-card h3 {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-align: center;
}

.resume-sheet-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    text-align: center;
    font-size: 0.95rem;
}

.resume-sheet-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.resume-sheet-actions .wizard-btn {
    width: 100%;
}

.gps-choice-card,
.appointment-request-card {
    width: 100%;
}

.gps-choice-card .wizard-body {
    padding: 18px 18px 12px;
}

.gps-choice-card .wizard-step-copy,
.appointment-request-card .wizard-step-copy {
    margin-bottom: 0;
    width: 100%;
}

.gps-choice-card .wizard-step-copy h2 {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: none;
    text-shadow: none;
}

.gps-choice-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    font-size: 0.95rem;
    max-width: none;
    width: 100%;
}

.gps-choice-actions {
    width: 100%;
    display: flex;
    gap: 12px;
}

.gps-choice-actions .wizard-btn {
    flex: 1 1 0;
}

.gps-choice-footer {
    padding-top: 0;
}

.appointment-request-card .wizard-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.terminal-btn.wa {
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.08));
    color: #eafff4;
    border-color: rgba(37, 211, 102, 0.45);
}

.terminal-btn.wa i {
    background: #25d366;
    color: #fff;
}

.terminal-btn.book {
    background: var(--color-orange);
    color: #fff;
}

.terminal-btn.call {
    background: linear-gradient(180deg, rgba(0, 51, 160, 0.35), rgba(0, 20, 60, 0.35));
    color: #fff;
    border: 1px solid rgba(0, 191, 255, 0.35);
}

.terminal-btn.call i {
    background: rgba(0, 191, 255, 0.28);
    color: #e7fbff;
}

.terminal-btn.email {
    background: linear-gradient(180deg, rgba(255, 102, 0, 0.2), rgba(255, 102, 0, 0.08));
    color: #fff6ef;
    border-color: rgba(255, 102, 0, 0.45);
}

.terminal-btn.email i {
    background: rgba(255, 102, 0, 0.35);
    color: #fff;
}

.terminal-btn.map {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    color: #eef7ff;
    border-color: rgba(255, 255, 255, 0.2);
}

.terminal-btn.map i {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.terminal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    filter: brightness(1.04);
}

.terminal-btn:active {
    transform: translateY(1px);
    filter: brightness(0.92);
}

.location-footer {
    padding: 12px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    text-align: center;
    font-family: var(--font-mono);
    letter-spacing: 0.4px;
}

.inquiry-reference-box {
    border-color: rgba(0, 191, 255, 0.16);
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.08), rgba(0, 22, 50, 0.18));
}

.maintenance-logic-layout {
    max-width: 760px;
    gap: 28px;
}

.maintenance-logic-hero {
    align-items: flex-start;
}

.maintenance-logic-intro {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.maintenance-logic-band {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.maintenance-logic-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(7, 12, 42, 0.82), rgba(3, 7, 20, 0.94)),
        radial-gradient(circle at top left, rgba(255, 102, 0, 0.08), rgba(255, 102, 0, 0) 38%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.maintenance-logic-card p,
.maintenance-logic-module p,
.maintenance-logic-pillar p,
.maintenance-follow-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.96rem;
    line-height: 1.6;
}

.maintenance-logic-emphasis {
    color: #fff !important;
    font-weight: 700;
}

.maintenance-logic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.maintenance-logic-module {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at top right, rgba(0, 191, 255, 0.08), rgba(0, 191, 255, 0) 34%);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 16px 28px rgba(0, 0, 0, 0.22);
}

.maintenance-logic-module-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.maintenance-logic-module h3,
.maintenance-logic-pillar h4,
.maintenance-follow-copy h3 {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.maintenance-logic-module h3 {
    font-size: 0.96rem;
}

.maintenance-logic-interval {
    color: var(--color-orange) !important;
    font-family: var(--font-mono);
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
}

.maintenance-logic-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.maintenance-logic-pillar {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.maintenance-follow-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.maintenance-follow-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(7, 12, 42, 0.82), rgba(3, 7, 20, 0.94)),
        radial-gradient(circle at top left, rgba(0, 191, 255, 0.08), rgba(0, 191, 255, 0) 34%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 42px rgba(0, 0, 0, 0.32);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.maintenance-follow-card.primary {
    background:
        linear-gradient(180deg, rgba(8, 18, 40, 0.86), rgba(2, 8, 18, 0.96)),
        radial-gradient(circle at top left, rgba(37, 211, 102, 0.08), rgba(37, 211, 102, 0) 36%);
}

.maintenance-follow-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.maintenance-follow-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.maintenance-facebook-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.maintenance-next-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.maintenance-next-actions .wizard-btn {
    min-width: 220px;
}

.service-records-layout {
    max-width: 760px;
    gap: 28px;
}

.service-records-hero {
    align-items: flex-start;
}

.service-records-intro {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.service-records-band {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-records-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(7, 12, 42, 0.82), rgba(3, 7, 20, 0.94)),
        radial-gradient(circle at top left, rgba(0, 191, 255, 0.08), rgba(0, 191, 255, 0) 40%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-records-card p,
.service-records-module p,
.service-records-check-item p,
.service-records-next-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.96rem;
    line-height: 1.6;
}

.service-records-emphasis {
    color: #fff !important;
    font-weight: 700;
}

.service-records-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.service-records-module {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at top right, rgba(255, 102, 0, 0.08), rgba(255, 102, 0, 0) 38%);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 16px 28px rgba(0, 0, 0, 0.22);
}

.service-records-module-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-records-module h3,
.service-records-check-item h4,
.service-records-next-card h3 {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.service-records-module h3 {
    font-size: 0.96rem;
}

.service-records-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.service-records-check-item {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    padding: 18px 16px;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
}

.service-records-check-item i {
    color: var(--color-orange);
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
}

.service-records-check-item div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-records-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-records-next-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.service-records-next-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(7, 12, 42, 0.82), rgba(3, 7, 20, 0.94)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 42%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 34px rgba(0, 0, 0, 0.28);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-room-layout,
.oil-catalog-layout {
    max-width: 860px;
    gap: 28px;
}

.catalog-room-hero,
.oil-catalog-hero {
    align-items: flex-start;
}

.catalog-room-intro,
.oil-catalog-intro {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.catalog-room-section,
.oil-catalog-band {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oil-catalog-card,
.oil-catalog-guidance-card,
.oil-catalog-result-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(7, 12, 42, 0.82), rgba(3, 7, 20, 0.94)),
        radial-gradient(circle at top left, rgba(0, 191, 255, 0.08), rgba(0, 191, 255, 0) 40%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.oil-catalog-card {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.catalog-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.catalog-launch-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(7, 12, 42, 0.82), rgba(3, 7, 20, 0.94)),
        radial-gradient(circle at top left, rgba(255, 102, 0, 0.08), rgba(255, 102, 0, 0) 40%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.catalog-launch-copy,
.catalog-placeholder-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-launch-copy h3,
.catalog-subview-title {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.catalog-subview-title {
    font-size: 1.08rem;
    line-height: 1.25;
}

.catalog-launch-copy p,
.catalog-placeholder-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.96rem;
    line-height: 1.6;
}

.catalog-launch-kicker {
    margin: 0;
    color: var(--color-orange);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.catalog-subview-card {
    gap: 18px;
}

.catalog-subview-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.oil-catalog-note-title,
.oil-catalog-guidance-card h3,
.oil-catalog-result-title {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.oil-catalog-note-card p,
.oil-catalog-guidance-card p,
.oil-catalog-result-card p,
.oil-catalog-empty p,
.oil-catalog-summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.96rem;
    line-height: 1.6;
}

.oil-catalog-guidance-grid,
.oil-catalog-results {
    display: grid;
    gap: 16px;
}

.oil-catalog-search-shell {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oil-catalog-search-shell-sticky {
    position: sticky;
    top: 14px;
    z-index: 45;
    padding: 12px;
    margin: -4px -4px 4px;
    border-radius: 18px;
    background: rgba(0, 0, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.oil-catalog-sticky-primary,
.oil-catalog-sticky-secondary {
    display: grid;
    gap: 12px;
}

.oil-catalog-sticky-secondary {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    align-items: end;
    margin-top: 12px;
}

.oil-catalog-search-input-wrap {
    position: relative;
}

.oil-catalog-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    pointer-events: none;
}

.oil-catalog-search-input {
    padding-left: 42px;
}

.oil-catalog-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.oil-catalog-reset-btn {
    white-space: nowrap;
    min-height: 48px;
}

.catalog-advanced-filters {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: 12px;
}

.catalog-advanced-filters summary {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-weight: 600;
    list-style: none;
}

.catalog-advanced-filters summary::-webkit-details-marker {
    display: none;
}

.catalog-advanced-filters summary::after {
    content: "Show";
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.85rem;
}

.catalog-advanced-filters[open] summary::after {
    content: "Hide";
}

.catalog-advanced-grid {
    margin-top: 14px;
}

.oil-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.oil-catalog-results {
    grid-template-columns: 1fr;
}

.oil-catalog-result-card {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.oil-catalog-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.oil-catalog-result-title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oil-catalog-result-kicker {
    color: var(--color-orange);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.oil-catalog-oil-badge {
    align-self: flex-start;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 102, 0, 0.14);
    border: 1px solid rgba(255, 102, 0, 0.3);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.oil-catalog-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.oil-catalog-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oil-catalog-meta-label {
    color: rgba(120, 210, 255, 0.98);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
}

.oil-catalog-meta-value {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
}

.oil-catalog-result-card .oil-catalog-oil-badge {
    border-color: rgba(255, 153, 64, 0.38);
    background: rgba(255, 102, 0, 0.2);
    color: #fff;
    font-weight: 700;
}

.oil-catalog-reference-copy {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.oil-catalog-empty {
    padding: 26px 22px;
    text-align: left;
}

.oil-catalog-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Modal Upgrade */
.clarity-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.clarity-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #000014;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1), 0 0 30px rgba(255, 102, 0, 0.1);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--color-orange);
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-body {
    padding: 22px 20px;
    max-height: min(70vh, 560px);
    overflow-y: auto;
}

.modal-body h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: 0.4px;
}

.modal-body p {
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.modal-body ul {
    margin: 0 0 12px 20px;
    color: rgba(255,255,255,0.84);
    font-size: 0.9rem;
    line-height: 1.45;
}

.modal-body li {
    margin-bottom: 6px;
}

.modal-footer {
    padding: 14px 20px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: flex-end;
}

.modal-service-cta {
    background: var(--color-orange);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 11px 14px;
    font-family: var(--font-heading);
    font-size: 0.76rem;
    letter-spacing: 0.6px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.modal-service-cta:hover {
    filter: brightness(1.06);
}

.modal-service-cta:active {
    transform: translateY(1px);
}

@media (max-width: 480px) {
    .clarity-content-wrapper {
        gap: 24px;
        padding-bottom: 90px;
    }

    .glitch-text {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 0.66rem;
        letter-spacing: 1.2px;
    }

    .manifesto-card {
        padding: 16px;
    }

    .terminal-btn-group {
        grid-template-columns: 1fr;
    }

    .terminal-actions .terminal-btn-group .terminal-btn:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .clarity-terminal-btn-group {
        grid-template-columns: 1fr;
    }

    .manifesto-card p {
        font-size: 0.9rem;
    }

    .dna-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .values-compact {
        grid-template-columns: 1fr;
    }

    .module-header {
        align-items: flex-start;
    }

    .module-interval,
    .module-desc {
        padding-left: 0;
        margin-left: 0;
    }

    .mini-grid {
        grid-template-columns: 1fr;
    }

    .terminal-btn {
        font-size: 0.72rem;
        min-height: 44px;
    }

    .talk-cluster-panel {
        width: min(100%, 400px);
        border-radius: 24px;
    }

    .talk-room-instruction {
        font-size: 0.86rem;
    }

    .talk-cluster-frame-outer {
        inset: 8px;
    }

    .talk-cluster-frame-inner {
        inset: 78px;
    }

    .talk-cluster-panel::before {
        inset: 62px;
    }

    .cluster-button {
        width: 46%;
        padding: 12px 8px;
        font-size: 0.74rem;
        gap: 7px;
    }

    .cluster-button i {
        width: 30px;
        height: 30px;
        font-size: 0.94rem;
    }

    .cluster-center {
        width: 52%;
        font-size: 0.8rem;
    }

    .cluster-top { --ty: -16px; }
    .cluster-left { --tx: -16px; }
    .cluster-right { --tx: 16px; }
    .cluster-bottom { --ty: 16px; }

    .room-modal {
        padding: calc(86px + env(safe-area-inset-top, 0px)) 12px 12px;
    }

    .gps-choice-card .wizard-body {
        padding: 22px 18px 20px;
    }

    .gps-choice-card .wizard-step-copy h2 {
        font-size: 0.96rem;
        line-height: 1.4;
    }

    .gps-choice-actions {
        flex-direction: column;
    }

    .resume-sheet-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .maintenance-logic-layout {
        gap: 24px;
    }

    .maintenance-logic-grid,
    .maintenance-logic-pillars,
    .maintenance-follow-grid {
        grid-template-columns: 1fr;
    }

    .service-records-layout {
        gap: 24px;
    }

    .catalog-room-layout,
    .oil-catalog-layout {
        gap: 24px;
    }

    .service-records-grid,
    .service-records-checklist,
    .service-records-next-grid,
    .catalog-card-grid,
    .oil-catalog-filter-grid,
    .oil-catalog-meta-grid {
        grid-template-columns: 1fr;
    }

    .oil-catalog-sticky-secondary {
        grid-template-columns: 1fr;
    }

    .service-records-action-group,
    .oil-catalog-cta-group {
        flex-direction: column;
    }

    .oil-catalog-toolbar,
    .oil-catalog-result-header,
    .catalog-subview-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .maintenance-next-actions {
        flex-direction: column;
    }

    .maintenance-next-actions .wizard-btn {
        width: 100%;
        min-width: 0;
    }
}
